diff options
author | Lei Zhang <thestig@chromium.org> | 2017-06-16 19:30:38 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-19 13:36:39 +0000 |
commit | ad0982add85998db0ef42a5c01ae2031ae7874d2 (patch) | |
tree | 86e5ab482bff25f0482da75191d0bd7cbcf32c35 /fpdfsdk/cpdfsdk_formfillenvironment.h | |
parent | ab5939e1ad77f0d4fcdb0abc258da1e6fb7eef1a (diff) | |
download | pdfium-ad0982add85998db0ef42a5c01ae2031ae7874d2.tar.xz |
Mark more CPDFSDK_FormFillEnvironment methods as const.
Change-Id: Ie7bd4ec567ce932c8010bae744ba42cf40706b79
Reviewed-on: https://pdfium-review.googlesource.com/6678
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_formfillenvironment.h')
-rw-r--r-- | fpdfsdk/cpdfsdk_formfillenvironment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.h b/fpdfsdk/cpdfsdk_formfillenvironment.h index 91141e57c6..73e3bdddf8 100644 --- a/fpdfsdk/cpdfsdk_formfillenvironment.h +++ b/fpdfsdk/cpdfsdk_formfillenvironment.h @@ -67,8 +67,8 @@ class CPDFSDK_FormFillEnvironment const CPDF_Document* pSrcDoc, const std::vector<uint16_t>& arrSrcPages); - int GetPageCount() { return m_pUnderlyingDoc->GetPageCount(); } - bool GetPermissions(int nFlag); + int GetPageCount() const { return m_pUnderlyingDoc->GetPageCount(); } + bool GetPermissions(int nFlag) const; bool GetChangeMark() const { return m_bChangeMask; } void SetChangeMark() { m_bChangeMask = true; } |