mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
x2t выкинуто лишнее из DocFormat
This commit is contained in:
committed by
Alexander Trofimov
parent
1c75f81463
commit
854b70ae81
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user