Index: fpdfsdk/fpdfformfill.cpp |
diff --git a/fpdfsdk/fpdfformfill.cpp b/fpdfsdk/fpdfformfill.cpp |
index 81c5dd7a129cfc98c6602e21aefc170b7a820fec..8564254d9e06112f33ad4caf966d43809e08ec6f 100644 |
--- a/fpdfsdk/fpdfformfill.cpp |
+++ b/fpdfsdk/fpdfformfill.cpp |
@@ -373,7 +373,7 @@ static void FFLCommon(FPDF_FORMHANDLE hHandle, |
pPageView->PageView_OnDraw(pDevice.get(), &matrix, &options, clip); |
#endif // PDF_ENABLE_XFA |
- pDevice->RestoreState(); |
+ pDevice->RestoreState(false); |
delete options.m_pOCContext; |
#ifdef PDF_ENABLE_XFA |
options.m_pOCContext = NULL; |