builder error (save to pdf & open file by url)

This commit is contained in:
Oleg Korshul
2017-12-01 14:23:21 +03:00
parent f72d6dfe0e
commit fdb7716abc
4 changed files with 9 additions and 4 deletions

View File

@ -939,7 +939,7 @@ namespace NSDoctRenderer
MoveFileOpen(path, sFileCopy);
COfficeFileFormatChecker oChecker;
if (!oChecker.isOfficeFile(path))
if (!oChecker.isOfficeFile(sFileCopy))
return false;
if (oChecker.nFileType & AVS_OFFICESTUDIO_FILE_DOCUMENT)

View File

@ -1194,5 +1194,5 @@ bool Doct_renderer_SaveFile_ForBuilder(int nFormat, const std::wstring& strDstFi
oParams.m_strDstFilePath = strDstFile;
return NSDoctRenderer::CDoctRenderer_Private::Doct_renderer_SaveFile(&oParams,
pNative, isolate, global_js, args, try_catch, strError, true);
pNative, isolate, global_js, args, try_catch, strError, false);
}