Fix bug 77353

This commit is contained in:
Svetlana Kulikova
2025-10-10 11:55:00 +03:00
parent 78085554b5
commit 869bbf6cc9
2 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ JSSmart<CJSValue> CDrawingFileEmbed::RedactPage(JSSmart<CJSValue> nPageIndex, JS
JSSmart<CJSTypedArray> dataPtr = dataFiller->toTypedArray();
CJSDataBuffer buffer = dataPtr->getData();
result = m_pFile->RedactPage(pageIndex, pBox, nCountBox / 8, buffer.Data, (int)buffer.Len);
result = m_pFile->RedactPage(pageIndex, pBox, nCountBox / 8, buffer.Data, (int)buffer.Len, true);
if (pBox)
delete[] pBox;