summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_xfaannothandler.cpp
diff options
context:
space:
mode:
authorjaepark <jaepark@google.com>2016-08-17 12:36:14 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-17 12:36:14 -0700
commit70ba38a9a1af0240529a96904dfdb8868b868719 (patch)
treeb35b27824997dc065628526b2fa0edfa20202b06 /fpdfsdk/cpdfsdk_xfaannothandler.cpp
parent611adb8c91c1d40c95097bb04b4f9eba03b599f9 (diff)
downloadpdfium-70ba38a9a1af0240529a96904dfdb8868b868719.tar.xz
Build CPDFSDK_XFAAnnotHandler only when PDF_ENABLE_XFA.
Also, remove the #ifdef PDF_ENABLE_XFA that wraps the whole file. Review-Url: https://codereview.chromium.org/2253193002
Diffstat (limited to 'fpdfsdk/cpdfsdk_xfaannothandler.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_xfaannothandler.cpp4
1 files changed, 0 insertions, 4 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