diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-08 00:00:16 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-08 00:00:16 +0000 |
commit | e5c0fa97c2da104426dbc1cecfc0ed488a22efe5 (patch) | |
tree | f98799cbca4694a7f20fbc0816d422a1147368b8 /fpdfsdk/cpdfsdk_pageview.cpp | |
parent | 8f63763317ae1ef65d1ac2719624adeb728f2207 (diff) | |
download | pdfium-e5c0fa97c2da104426dbc1cecfc0ed488a22efe5.tar.xz |
Make one more CPDF_PageObjectHolder member protected.
Change-Id: Id9288d504f063759f69632ab59b0a21569ff76d8
Reviewed-on: https://pdfium-review.googlesource.com/32113
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_pageview.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_pageview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_pageview.cpp b/fpdfsdk/cpdfsdk_pageview.cpp index 08d1b8d1f0..2eab6ca32b 100644 --- a/fpdfsdk/cpdfsdk_pageview.cpp +++ b/fpdfsdk/cpdfsdk_pageview.cpp @@ -575,7 +575,7 @@ CPDFSDK_Annot* CPDFSDK_PageView::GetFocusAnnot() { } int CPDFSDK_PageView::GetPageIndexForStaticPDF() const { - CPDF_Dictionary* pDict = GetPDFPage()->m_pFormDict.Get(); + const CPDF_Dictionary* pDict = GetPDFPage()->GetFormDict(); CPDF_Document* pDoc = m_pFormFillEnv->GetPDFDocument(); return (pDoc && pDict) ? pDoc->GetPageIndex(pDict->GetObjNum()) : -1; } |