diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-04-24 20:54:41 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-24 20:54:41 +0000 |
commit | a1d344230925e94bbf43a62ddc814321056c68d5 (patch) | |
tree | 521550993794bc12ae4927529a780d72f89e5283 /fpdfsdk/cpdfsdk_formfillenvironment.h | |
parent | b242943f5e949ce3d92dcb62c7497815ccd231d1 (diff) | |
download | pdfium-a1d344230925e94bbf43a62ddc814321056c68d5.tar.xz |
Fix include order for cpdfxfa_context.hchromium/3407
It should include cpdfsdk_helpers, not the other way around.
Change-Id: Id2cc3018e8c38f82ce8a35b03bb90e936aa1d446
Reviewed-on: https://pdfium-review.googlesource.com/31294
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_formfillenvironment.h')
-rw-r--r-- | fpdfsdk/cpdfsdk_formfillenvironment.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.h b/fpdfsdk/cpdfsdk_formfillenvironment.h index d60f2eca94..eac9067730 100644 --- a/fpdfsdk/cpdfsdk_formfillenvironment.h +++ b/fpdfsdk/cpdfsdk_formfillenvironment.h @@ -81,7 +81,7 @@ class CPDFSDK_FormFillEnvironment const CPDF_Document* pSrcDoc, const std::vector<uint16_t>& arrSrcPages); - int GetPageCount() const { return m_pUnderlyingDoc->GetPageCount(); } + int GetPageCount() const; bool GetPermissions(int nFlag) const; bool GetChangeMark() const { return m_bChangeMask; } @@ -118,9 +118,7 @@ class CPDFSDK_FormFillEnvironment } #ifdef PDF_ENABLE_XFA - CPDF_Document* GetPDFDocument() const { - return m_pUnderlyingDoc ? m_pUnderlyingDoc->GetPDFDoc() : nullptr; - } + CPDF_Document* GetPDFDocument() const; CPDFXFA_Context* GetXFAContext() const { return m_pUnderlyingDoc.Get(); } void ResetXFADocument() { m_pUnderlyingDoc = nullptr; } |