summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/cpdfsdk_xfaannothandler.cpp4
-rw-r--r--fpdfsdk/include/cpdfsdk_xfaannothandler.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/fpdfsdk/cpdfsdk_xfaannothandler.cpp b/fpdfsdk/cpdfsdk_xfaannothandler.cpp
index 8b1ed5c054..94f6f4abdc 100644
--- a/fpdfsdk/cpdfsdk_xfaannothandler.cpp
+++ b/fpdfsdk/cpdfsdk_xfaannothandler.cpp
@@ -6,8 +6,6 @@
#include "fpdfsdk/include/cpdfsdk_xfaannothandler.h"
-#ifdef PDF_ENABLE_XFA
-
#include "core/fpdfdoc/include/cpdf_interform.h"
#include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h"
#include "fpdfsdk/include/cpdfsdk_annot.h"
@@ -390,5 +388,3 @@ uint32_t CPDFSDK_XFAAnnotHandler::GetFWLFlags(uint32_t dwFlag) {
return dwFWLFlag;
}
-
-#endif // PDF_ENABLE_XFA
diff --git a/fpdfsdk/include/cpdfsdk_xfaannothandler.h b/fpdfsdk/include/cpdfsdk_xfaannothandler.h
index 664d48ff07..db5e4b7ea6 100644
--- a/fpdfsdk/include/cpdfsdk_xfaannothandler.h
+++ b/fpdfsdk/include/cpdfsdk_xfaannothandler.h
@@ -7,8 +7,6 @@
#ifndef FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_
#define FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_
-#ifdef PDF_ENABLE_XFA
-
#include "core/fxcrt/include/fx_basic.h"
#include "core/fxcrt/include/fx_coordinates.h"
#include "fpdfsdk/include/ipdfsdk_annothandler.h"
@@ -112,6 +110,5 @@ class CPDFSDK_XFAAnnotHandler : public IPDFSDK_AnnotHandler {
CPDFDoc_Environment* m_pApp;
};
-#endif // PDF_ENABLE_XFA
#endif // FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_