diff options
author | Lei Zhang <thestig@chromium.org> | 2018-01-10 20:10:05 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-10 20:10:05 +0000 |
commit | 326c38c4f2749e61fa2dec1d0f326e4099d6a24c (patch) | |
tree | b640be3187b42d9cdc8756f88f87400e25440961 /public | |
parent | 678b97f3fc747cc203c036c01d23fe790b230b85 (diff) | |
download | pdfium-326c38c4f2749e61fa2dec1d0f326e4099d6a24c.tar.xz |
Remove unused parameter from FPDFDest_GetView().
Fix a bunch of nits as well.
Change-Id: I874f9b1d4676823635aad8986fcf23a11ae6efd9
Reviewed-on: https://pdfium-review.googlesource.com/22473
Reviewed-by: Lei Zhang <thestig@chromium.org>
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 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/public/fpdf_doc.h b/public/fpdf_doc.h index 93efa7ae98..b523575967 100644 --- a/public/fpdf_doc.h +++ b/public/fpdf_doc.h @@ -189,18 +189,14 @@ FPDFDest_GetPageIndex(FPDF_DOCUMENT document, FPDF_DEST dest); // Get the view (fit type) specified by |dest|. // Experimental API. Subject to change. // -// document - handle to the document. // dest - handle to the destination. -// outNumParams - buffer to write the number of view parameters. -// outParams - buffer to write the view parameters. Must be at least 4 +// pNumParams - receives the number of view parameters, which is at most 4. +// pParams - buffer to write the view parameters. Must be at least 4 // FS_FLOATs long. // Returns one of the PDFDEST_VIEW_* constants, PDFDEST_VIEW_UNKNOWN_MODE if // |dest| does not specify a view. FPDF_EXPORT unsigned long FPDF_CALLCONV -FPDFDest_GetView(FPDF_DOCUMENT document, - FPDF_DEST dest, - unsigned long* outNumParams, - FS_FLOAT* outParams); +FPDFDest_GetView(FPDF_DEST dest, unsigned long* pNumParams, FS_FLOAT* pParams); // Get the (x, y, zoom) location of |dest| in the destination page, if the // destination is in [page /XYZ x y zoom] syntax. |