From 326c38c4f2749e61fa2dec1d0f326e4099d6a24c Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 10 Jan 2018 20:10:05 +0000 Subject: 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 Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- public/fpdf_doc.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'public/fpdf_doc.h') 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. -- cgit v1.2.3