From 5cee3f28ead05cb336377483e24664c004af8b0a Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 25 May 2018 21:48:49 +0000 Subject: Mark more CPDF_Objects as const in action and bookmark code. Change-Id: Ib5f4cdb9c7f9c33561028a85029649ba68f4a6e5 Reviewed-on: https://pdfium-review.googlesource.com/32912 Commit-Queue: Lei Zhang Reviewed-by: dsinclair --- core/fpdfdoc/cpdf_actionfields.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fpdfdoc/cpdf_actionfields.h') diff --git a/core/fpdfdoc/cpdf_actionfields.h b/core/fpdfdoc/cpdf_actionfields.h index 83c70f6375..affc03cfec 100644 --- a/core/fpdfdoc/cpdf_actionfields.h +++ b/core/fpdfdoc/cpdf_actionfields.h @@ -22,8 +22,8 @@ class CPDF_ActionFields { ~CPDF_ActionFields(); size_t GetFieldsCount() const; - std::vector GetAllFields() const; - CPDF_Object* GetField(size_t iIndex) const; + std::vector GetAllFields() const; + const CPDF_Object* GetField(size_t iIndex) const; private: UnownedPtr const m_pAction; -- cgit v1.2.3