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