| Index: xfa/fxfa/app/xfa_textlayout.cpp
|
| diff --git a/xfa/fxfa/app/xfa_textlayout.cpp b/xfa/fxfa/app/xfa_textlayout.cpp
|
| index df35c39ed48109a292afc4182e250924e9bd8a9e..3c7497c660e7663b35e1dea63bfc5537619aa078 100644
|
| --- a/xfa/fxfa/app/xfa_textlayout.cpp
|
| +++ b/xfa/fxfa/app/xfa_textlayout.cpp
|
| @@ -1174,7 +1174,7 @@ FX_BOOL CXFA_TextLayout::DrawString(CFX_RenderDevice* pFxDevice,
|
|
|
| std::unique_ptr<CFDE_RenderDevice> pDevice(
|
| new CFDE_RenderDevice(pFxDevice, FALSE));
|
| - FDE_HDEVICESTATE state = pDevice->SaveState();
|
| + pDevice->SaveState();
|
| pDevice->SetClipRect(rtClip);
|
|
|
| std::unique_ptr<CFDE_Brush> pSolidBrush(new CFDE_Brush);
|
| @@ -1223,7 +1223,7 @@ FX_BOOL CXFA_TextLayout::DrawString(CFX_RenderDevice* pFxDevice,
|
| tmDoc2Device);
|
| }
|
| }
|
| - pDevice->RestoreState(state);
|
| + pDevice->RestoreState();
|
| FX_Free(pCharPos);
|
| return iPieceLines;
|
| }
|
|
|