Commit b5489282 authored by ElenaSubbotina's avatar ElenaSubbotina

x2t - add password to convert doc

parent 467dadc5
......@@ -7,7 +7,7 @@
QT -= core
QT -= gui
VERSION = 2.0.2.376
VERSION = 2.0.2.377
DEFINES += INTVER=$$VERSION
mac {
......
......@@ -902,7 +902,7 @@ namespace NExtractTools
COfficeDocFile docFile;
docFile.m_sTempFolder = sTemp;
return S_OK == docFile.LoadFromFile( sFrom, sTo, NULL) ? 0 : AVS_FILEUTILS_ERROR_CONVERT;
return S_OK == docFile.LoadFromFile( sFrom, sTo, L"", NULL) ? 0 : AVS_FILEUTILS_ERROR_CONVERT;
}
// doc -> doct
......@@ -935,7 +935,7 @@ namespace NExtractTools
COfficeDocFile docFile;
docFile.m_sTempFolder = sTemp;
if (docFile.LoadFromFile( sFrom, sResultDocxDir, NULL)== S_OK)
if (docFile.LoadFromFile( sFrom, sResultDocxDir, L"", NULL)== S_OK)
{
BinDocxRW::CDocxSerializer m_oCDocxSerializer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment