summaryrefslogtreecommitdiff
path: root/core/src/fpdfdoc
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-25 15:52:28 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-25 15:52:28 -0800
commita2c42ce6150c4072613a6fc9fa0dc064dbf0a15d (patch)
treeb1705df8ed8c9f2f8db5095fbb6e19548493eacd /core/src/fpdfdoc
parent214947de80a9be2ddb134b1962affc82e20563c9 (diff)
downloadpdfium-a2c42ce6150c4072613a6fc9fa0dc064dbf0a15d.tar.xz
Manual fixups to PDF_ENABLE_XFA in core/
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1477663003 .
Diffstat (limited to 'core/src/fpdfdoc')
-rw-r--r--core/src/fpdfdoc/doc_form.cpp4
-rw-r--r--core/src/fpdfdoc/doc_formfield.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/fpdfdoc/doc_form.cpp b/core/src/fpdfdoc/doc_form.cpp
index ffd6bf7955..c73b3e199e 100644
--- a/core/src/fpdfdoc/doc_form.cpp
+++ b/core/src/fpdfdoc/doc_form.cpp
@@ -385,8 +385,8 @@ static FX_BOOL RetrieveStockFont(int iFontObject,
}
return FALSE;
}
-#endif
-#endif
+#endif // PDF_ENABLE_XFA
+#endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
CPDF_Font* CPDF_InterForm::AddStandardFont(CPDF_Document* pDocument,
CFX_ByteString csFontName) {
diff --git a/core/src/fpdfdoc/doc_formfield.cpp b/core/src/fpdfdoc/doc_formfield.cpp
index 6f90d7e396..c5d789a4e4 100644
--- a/core/src/fpdfdoc/doc_formfield.cpp
+++ b/core/src/fpdfdoc/doc_formfield.cpp
@@ -817,7 +817,7 @@ FX_BOOL CPDF_FormField::ClearOptions(FX_BOOL bNotify) {
m_pForm->m_bUpdated = TRUE;
return TRUE;
}
-#endif
+#endif // PDF_ENABLE_XFA
FX_BOOL CPDF_FormField::CheckControl(int iControlIndex,
FX_BOOL bChecked,
FX_BOOL bNotify) {