Fix Clear Content

This commit is contained in:
Svetlana Kulikova
2025-10-10 17:05:53 +03:00
parent e126ceef3c
commit 29b9cf515a

View File

@ -3490,7 +3490,10 @@ void CPdfEditor::ClearPage()
}
pageObj.free();
pDoc->ClearPage();
if (m_nMode == Mode::Split || m_nMode == Mode::WriteNew)
pDoc->ClearPageFull();
else
pDoc->ClearPage();
Page* pOPage = pPDFDocument->getCatalog()->getPage(nPageIndex);
if (pOPage->isCropped())