summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_dest.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-01-10 20:10:05 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-10 20:10:05 +0000
commit326c38c4f2749e61fa2dec1d0f326e4099d6a24c (patch)
treeb640be3187b42d9cdc8756f88f87400e25440961 /core/fpdfdoc/cpdf_dest.h
parent678b97f3fc747cc203c036c01d23fe790b230b85 (diff)
downloadpdfium-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 'core/fpdfdoc/cpdf_dest.h')
-rw-r--r--core/fpdfdoc/cpdf_dest.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/fpdfdoc/cpdf_dest.h b/core/fpdfdoc/cpdf_dest.h
index 4959901972..584669a82d 100644
--- a/core/fpdfdoc/cpdf_dest.h
+++ b/core/fpdfdoc/cpdf_dest.h
@@ -22,15 +22,15 @@ class CPDF_Dest {
~CPDF_Dest();
CPDF_Object* GetObject() const { return m_pObj.Get(); }
- ByteString GetRemoteName();
- int GetPageIndex(CPDF_Document* pDoc);
- uint32_t GetPageObjNum();
+ ByteString GetRemoteName() const;
+ int GetPageIndex(CPDF_Document* pDoc) const;
+ uint32_t GetPageObjNum() const;
// Returns the zoom mode, as one of the PDFDEST_VIEW_* values in fpdf_doc.h.
- int GetZoomMode();
+ int GetZoomMode() const;
- unsigned int GetNumParams();
- float GetParam(int index);
+ unsigned long GetNumParams() const;
+ float GetParam(int index) const;
bool GetXYZ(bool* pHasX,
bool* pHasY,