diff options
author | Lei Zhang <thestig@chromium.org> | 2018-08-23 20:27:21 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-23 20:27:21 +0000 |
commit | e919ec18fc0b008241e5e5371d5762e9fe89de6f (patch) | |
tree | 28ce1e1e7dec14948f584ca6d0228e88c8c0c3e6 /public | |
parent | b4f2744daca0e3d3cebdad92fcc28a271cf0767a (diff) | |
download | pdfium-e919ec18fc0b008241e5e5371d5762e9fe89de6f.tar.xz |
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 <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'public')
-rw-r--r-- | public/fpdf_doc.h | 13 |
1 files changed, 0 insertions, 13 deletions
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. |