| Index: xfa/fxfa/app/xfa_textlayout.cpp
|
| diff --git a/xfa/fxfa/app/xfa_textlayout.cpp b/xfa/fxfa/app/xfa_textlayout.cpp
|
| index fe72e29c052e8f61d8f239f4123a40bab189a900..f7e5705992495e5a2badcd860c1215fb4f6a992e 100644
|
| --- a/xfa/fxfa/app/xfa_textlayout.cpp
|
| +++ b/xfa/fxfa/app/xfa_textlayout.cpp
|
| @@ -1187,7 +1187,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);
|
| @@ -1236,7 +1236,7 @@ FX_BOOL CXFA_TextLayout::DrawString(CFX_RenderDevice* pFxDevice,
|
| tmDoc2Device);
|
| }
|
| }
|
| - pDevice->RestoreState(state);
|
| + pDevice->RestoreState();
|
| FX_Free(pCharPos);
|
| return iPieceLines;
|
| }
|
|
|