Fix MergePages

This commit is contained in:
Svetlana Kulikova
2025-02-19 17:51:10 +03:00
parent e1b13913ac
commit edcd907749
6 changed files with 157 additions and 142 deletions

View File

@ -181,7 +181,7 @@ bool CPdfFile::MergePages(const std::wstring& wsPath, const std::wstring& wsPass
return false;
}
bool bRes = m_pInternal->pEditor->SplitPages(arrPageIndex, unLength);
bool bRes = m_pInternal->pEditor->MergePages(pMergeFile->m_pInternal->pReader, arrPageIndex, unLength, nMergePos);
RELEASEOBJECT(pMergeFile);
return bRes;
}