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

@ -236,7 +236,8 @@ void CDjVuFileImplementation::DrawPageOnRenderer(IRenderer* pRenderer, int nPag
}
void CDjVuFileImplementation::ConvertToPdf(const std::wstring& wsDstPath)
{
CPdfFile oPdf(m_pApplicationFonts, 2);
CPdfFile oPdf(m_pApplicationFonts);
oPdf.CreatePdf();
bool bBreak = false;
for (int nPageIndex = 0, nPagesCount = GetPagesCount(); nPageIndex < nPagesCount; nPageIndex++)