Index: xfa/fde/tto/fde_textout.cpp |
diff --git a/xfa/fde/tto/fde_textout.cpp b/xfa/fde/tto/fde_textout.cpp |
index c7d82ac0f426ea6f3168b442393b94c6616e0147..6e90850736ec878f36fe99e1459e2607cea1c6e5 100644 |
--- a/xfa/fde/tto/fde_textout.cpp |
+++ b/xfa/fde/tto/fde_textout.cpp |
@@ -779,7 +779,7 @@ void CFDE_TextOut::OnDraw(const CFX_RectF& rtClip) { |
CFDE_Brush* pBrush = new CFDE_Brush; |
pBrush->SetColor(m_TxtColor); |
CFDE_Pen* pPen = NULL; |
- FDE_HDEVICESTATE hDev = m_pRenderDevice->SaveState(); |
+ m_pRenderDevice->SaveState(); |
if (rtClip.Width() > 0.0f && rtClip.Height() > 0.0f) { |
m_pRenderDevice->SetClipRect(rtClip); |
} |
@@ -799,7 +799,7 @@ void CFDE_TextOut::OnDraw(const CFX_RectF& rtClip) { |
DrawLine(pPiece, pPen); |
} |
} |
- m_pRenderDevice->RestoreState(hDev); |
+ m_pRenderDevice->RestoreState(); |
delete pBrush; |
delete pPen; |
} |