From e919ec18fc0b008241e5e5371d5762e9fe89de6f Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 23 Aug 2018 20:27:21 +0000 Subject: Remove deprecated FPDFDest_GetPageIndex() API. Use FPDFDest_GetDestPageIndex() instead. BUG=pdfium:1041 Change-Id: I8e91ef46456a60ebd873068765b7c3ff1a991fa4 Reviewed-on: https://pdfium-review.googlesource.com/41230 Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- public/fpdf_doc.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'public') diff --git a/public/fpdf_doc.h b/public/fpdf_doc.h index 67a4108531..4bd9d44169 100644 --- a/public/fpdf_doc.h +++ b/public/fpdf_doc.h @@ -177,19 +177,6 @@ FPDFAction_GetURIPath(FPDF_DOCUMENT document, void* buffer, unsigned long buflen); -// Deprecated. Use FPDFDest_GetDestPageIndex() instead. -// -// Get the page index of |dest|. -// -// document - handle to the document. -// dest - handle to the destination. -// -// Returns the page index containing |dest|. Page indices start from 0. -// On an error, returns 0 or -1. Note that 0 can mean the first page, hence -// do not use this API. -FPDF_EXPORT unsigned long FPDF_CALLCONV -FPDFDest_GetPageIndex(FPDF_DOCUMENT document, FPDF_DEST dest); - // Get the page index of |dest|. // // document - handle to the document. -- cgit v1.2.3