diff options
author | jaepark <jaepark@google.com> | 2016-08-17 12:36:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-17 12:36:14 -0700 |
commit | 70ba38a9a1af0240529a96904dfdb8868b868719 (patch) | |
tree | b35b27824997dc065628526b2fa0edfa20202b06 /fpdfsdk | |
parent | 611adb8c91c1d40c95097bb04b4f9eba03b599f9 (diff) | |
download | pdfium-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')
-rw-r--r-- | fpdfsdk/cpdfsdk_xfaannothandler.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/include/cpdfsdk_xfaannothandler.h | 3 |
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_ |