fix another project without Mode

This commit is contained in:
Kulikova Svetlana
2022-11-21 16:18:26 +03:00
parent d36b6038a2
commit edd5d6aead
9 changed files with 76 additions and 106 deletions

View File

@ -188,7 +188,8 @@ std::wstring CXpsFile::GetInfo()
#ifndef DISABLE_PDF_CONVERTATION
void CXpsFile::ConvertToPdf(const std::wstring& wsPath)
{
CPdfFile oPdf(m_pInternal->m_pAppFonts, 2);
CPdfFile oPdf(m_pInternal->m_pAppFonts);
oPdf.CreatePdf();
bool bBreak = false;
int nPagesCount = GetPagesCount();