Merge pull request 'Fix bug 78733' (#544) from fix/bug-78733 into release/v9.2.0

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/core/pulls/544
This commit is contained in:
Oleg Korshul
2025-11-26 07:25:21 +00:00

View File

@ -1362,7 +1362,7 @@ HRESULT CPdfFile::AdvancedCommand(IAdvancedCommand* command)
}
case IAdvancedCommand::AdvancedCommandType::Redact:
{
if (m_pInternal->pEditor && m_pInternal->pEditor->IsEditPage())
if (m_pInternal->pEditor)
m_pInternal->pEditor->Redact((CRedact*)command);
return S_OK;
}