mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-19 21:00:55 +08:00
fix SaveToFile when not create CPdfFile
This commit is contained in:
@ -828,7 +828,7 @@ void CPdfFile::CreatePdf(bool isPDFA)
|
||||
int CPdfFile::SaveToFile(const std::wstring& wsPath)
|
||||
{
|
||||
if (!m_pInternal->pWriter)
|
||||
return 0;
|
||||
return 1;
|
||||
return m_pInternal->pWriter->SaveToFile(wsPath);
|
||||
}
|
||||
void CPdfFile::SetPassword(const std::wstring& wsPassword)
|
||||
|
||||
Reference in New Issue
Block a user