mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix save Redact
This commit is contained in:
@ -3579,7 +3579,9 @@ void CPdfEditor::Redact(IAdvancedCommand* _pCommand)
|
||||
pPage->getContents(&oContents);
|
||||
PDFRectangle* box = pPage->getMediaBox();
|
||||
Gfx* gfx = new Gfx(pPDFDocument, &oRedactOut, nPageIndex, pPage->getResourceDict(), 72.0, 72.0, box, NULL, 0);
|
||||
gfx->saveState();
|
||||
gfx->display(&oContents);
|
||||
gfx->endOfPage();
|
||||
oContents.free();
|
||||
RELEASEOBJECT(gfx);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user