Commit 854b70ae authored by ElenaSubbotina's avatar ElenaSubbotina Committed by Alexander Trofimov

x2t выкинуто лишнее из DocFormat

parent 1c75f814
......@@ -868,7 +868,6 @@ namespace NExtractTools
int doc2docx_dir (const std::wstring &sFrom, const std::wstring &sTo, const std::wstring &sTemp)
{
COfficeDocFile docFile;
docFile.put_TempDirectory(sTemp);
return S_OK == docFile.LoadFromFile( sFrom, sTo, NULL) ? 0 : AVS_FILEUTILS_ERROR_CONVERT;
}
......@@ -900,7 +899,6 @@ namespace NExtractTools
FileSystem::Directory::CreateDirectory(sResultDocxDir);
COfficeDocFile docFile;
docFile.put_TempDirectory(sTemp);
if (docFile.LoadFromFile( sFrom, sResultDocxDir, NULL)== S_OK)
{
......@@ -922,7 +920,6 @@ namespace NExtractTools
{
return AVS_FILEUTILS_ERROR_CONVERT;
COfficeDocFile docFile;
docFile.put_TempDirectory(sTemp);
return S_OK == docFile.SaveToFile(sTo, sDocxDir, NULL) ? 0 : AVS_FILEUTILS_ERROR_CONVERT;
}
......
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