summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_dest.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-10-04 00:26:17 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-04 00:26:17 +0000
commit912f2d154162cef0dcb59f030a45b1f4f024f78a (patch)
tree035caa58cdc7154f75ea9778fc027d95eec85449 /core/fpdfdoc/cpdf_dest.cpp
parent80482dc264c537945f95b0419ba4f9a70d6ae4cd (diff)
downloadpdfium-912f2d154162cef0dcb59f030a45b1f4f024f78a.tar.xz
Remove several more unused methods from core/
Change-Id: I891add4e91c7ee58b34974fed6d73d17c297e759 Reviewed-on: https://pdfium-review.googlesource.com/c/43459 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_dest.cpp')
-rw-r--r--core/fpdfdoc/cpdf_dest.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/fpdfdoc/cpdf_dest.cpp b/core/fpdfdoc/cpdf_dest.cpp
index 308336e5d9..f7aa98f1ef 100644
--- a/core/fpdfdoc/cpdf_dest.cpp
+++ b/core/fpdfdoc/cpdf_dest.cpp
@@ -55,20 +55,6 @@ int CPDF_Dest::GetDestPageIndex(CPDF_Document* pDoc) const {
return pDoc->GetPageIndex(pPage->GetObjNum());
}
-uint32_t CPDF_Dest::GetPageObjNum() const {
- if (!m_pArray)
- return 0;
-
- const CPDF_Object* pPage = m_pArray->GetDirectObjectAt(0);
- if (!pPage)
- return 0;
- if (pPage->IsNumber())
- return pPage->GetInteger();
- if (pPage->IsDictionary())
- return pPage->GetObjNum();
- return 0;
-}
-
int CPDF_Dest::GetZoomMode() const {
if (!m_pArray)
return 0;