From 5c4c193fd4b6dd0657abf5e74125f9887f91d720 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 25 Nov 2015 12:15:38 -0800 Subject: Inflict PPDF_ENABLE_XFA ifdefs on XFA core/ R=thestig@chromium.org Review URL: https://codereview.chromium.org/1471323004 . --- core/include/fpdfdoc/fpdf_doc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/include/fpdfdoc/fpdf_doc.h') diff --git a/core/include/fpdfdoc/fpdf_doc.h b/core/include/fpdfdoc/fpdf_doc.h index c270c78bcf..3f05fc9be9 100644 --- a/core/include/fpdfdoc/fpdf_doc.h +++ b/core/include/fpdfdoc/fpdf_doc.h @@ -825,12 +825,14 @@ class CPDF_FormField { FX_BOOL ClearSelectedOptions(FX_BOOL bNotify = FALSE); +#ifdef PDF_ENABLE_XFA FX_BOOL ClearOptions(FX_BOOL bNotify = FALSE); int InsertOption(CFX_WideString csOptLabel, int index = -1, FX_BOOL bNotify = FALSE); +#endif FX_FLOAT GetFontSize() { return m_FontSize; } CPDF_Font* GetFont() { return m_pFont; } -- cgit v1.2.3