mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix bug 73493
This commit is contained in:
@ -474,6 +474,13 @@ namespace PdfReader
|
||||
void RendererOutputDev::restoreState(GfxState* pGState)
|
||||
{
|
||||
RELEASEINTERFACE(m_pSoftMask);
|
||||
if (m_sStates.empty())
|
||||
{ // Несбалансированный q/Q - сломанный файл
|
||||
updateAll(pGState);
|
||||
UpdateAllClip(pGState);
|
||||
return;
|
||||
}
|
||||
|
||||
m_pSoftMask = m_sStates.back().pSoftMask;
|
||||
if (c_nGrRenderer == m_lRendererType)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user