mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 06:24:28 +08:00
Fix Clear Content
This commit is contained in:
@ -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())
|
||||
|
||||
Reference in New Issue
Block a user