summaryrefslogtreecommitdiff
path: root/xfa/fxfa
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-08 06:11:20 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-08 06:11:20 -0700
commitd3be111cac2bb20e1917b3fae2102e742bb7efdb (patch)
treed985aa96a5aaaf356d32f28bbcb0cc6b470d4b05 /xfa/fxfa
parenta431e238ee42025cce44c3a76dd07c470d7f51ec (diff)
downloadpdfium-d3be111cac2bb20e1917b3fae2102e742bb7efdb.tar.xz
Fix GetPageIndex() for dynamic XFA documents.
BUG=614211 Review-Url: https://codereview.chromium.org/2045013004
Diffstat (limited to 'xfa/fxfa')
-rw-r--r--xfa/fxfa/app/xfa_ffpageview.cpp4
-rw-r--r--xfa/fxfa/include/xfa_ffpageview.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/xfa/fxfa/app/xfa_ffpageview.cpp b/xfa/fxfa/app/xfa_ffpageview.cpp
index 16461eb07c..bb277f46f0 100644
--- a/xfa/fxfa/app/xfa_ffpageview.cpp
+++ b/xfa/fxfa/app/xfa_ffpageview.cpp
@@ -102,10 +102,6 @@ CXFA_FFDocView* CXFA_FFPageView::GetDocView() const {
return m_pDocView;
}
-int32_t CXFA_FFPageView::GetPageViewIndex() const {
- return GetPageIndex();
-}
-
void CXFA_FFPageView::GetPageViewRect(CFX_RectF& rtPage) const {
CFX_SizeF sz;
GetPageSize(sz);
diff --git a/xfa/fxfa/include/xfa_ffpageview.h b/xfa/fxfa/include/xfa_ffpageview.h
index 124c8db4d2..ab98d54e62 100644
--- a/xfa/fxfa/include/xfa_ffpageview.h
+++ b/xfa/fxfa/include/xfa_ffpageview.h
@@ -18,7 +18,6 @@ class CXFA_FFPageView : public CXFA_ContainerLayoutItem {
~CXFA_FFPageView() override;
CXFA_FFDocView* GetDocView() const;
- int32_t GetPageViewIndex() const;
void GetPageViewRect(CFX_RectF& rtPage) const;
void GetDisplayMatrix(CFX_Matrix& mt,
const CFX_Rect& rtDisp,