summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_dest.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfdoc/cpdf_dest.h')
-rw-r--r--core/fpdfdoc/cpdf_dest.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/fpdfdoc/cpdf_dest.h b/core/fpdfdoc/cpdf_dest.h
index 7f4eb86c00..c30db1183c 100644
--- a/core/fpdfdoc/cpdf_dest.h
+++ b/core/fpdfdoc/cpdf_dest.h
@@ -24,11 +24,6 @@ class CPDF_Dest {
const CPDF_Array* GetObject() const { return m_pObj.Get(); }
ByteString GetRemoteName() const;
- // Deprecated. Use GetDestPageIndex instead.
- // This method is wrong. It returns 0 for errors, when it could mean the first
- // page as well. Keeping it avoids changing the behavior of
- // FPDFDest_GetPageIndex().
- int GetPageIndexDeprecated(CPDF_Document* pDoc) const;
int GetDestPageIndex(CPDF_Document* pDoc) const;
uint32_t GetPageObjNum() const;