Index: fpdfsdk/fpdfformfill.cpp |
diff --git a/fpdfsdk/fpdfformfill.cpp b/fpdfsdk/fpdfformfill.cpp |
index b1c729b8dc3cba2f89c62e9fd1f96df915504597..6bcb605794b237ffe92e2825f9b11d1ce6aab666 100644 |
--- a/fpdfsdk/fpdfformfill.cpp |
+++ b/fpdfsdk/fpdfformfill.cpp |
@@ -374,7 +374,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; |