summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/src/fsdk_mgr.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp
index 8bcf23147f..401da497f1 100644
--- a/fpdfsdk/src/fsdk_mgr.cpp
+++ b/fpdfsdk/src/fsdk_mgr.cpp
@@ -617,16 +617,14 @@ CPDFSDK_PageView::CPDFSDK_PageView(CPDFSDK_Document* pSDKDoc,
: m_page(page),
m_pSDKDoc(pSDKDoc),
m_CaptureWidget(nullptr),
+#ifndef PDF_ENABLE_XFA
+ m_bTakeOverPage(FALSE),
+#endif // PDF_ENABLE_XFA
m_bEnterWidget(FALSE),
m_bExitWidget(FALSE),
m_bOnWidget(FALSE),
m_bValid(FALSE),
-#ifdef PDF_ENABLE_XFA
m_bLocked(FALSE) {
-#else // PDF_ENABLE_XFA
- m_bLocked(FALSE),
- m_bTakeOverPage(FALSE) {
-#endif // PDF_ENABLE_XFA
CPDFSDK_InterForm* pInterForm = pSDKDoc->GetInterForm();
if (pInterForm) {
CPDF_InterForm* pPDFInterForm = pInterForm->GetInterForm();