summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2016-01-19 15:14:01 -0800
committerOliver Chang <ochang@chromium.org>2016-01-19 15:14:01 -0800
commitb196c7bebad66c9938d2705ccf64961bcdd774e2 (patch)
treeb2f37393cada6327084022c7701b1b3bbd6f1dd0
parentd40e189ba1ab515ef9b3df7928e215be150df336 (diff)
downloadpdfium-b196c7bebad66c9938d2705ccf64961bcdd774e2.tar.xz
Remove an extra "const" in fpdf_objects.
TBR=weili@chromium.org Review URL: https://codereview.chromium.org/1602323002 .
-rw-r--r--core/include/fpdfapi/fpdf_objects.h2
-rw-r--r--core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/include/fpdfapi/fpdf_objects.h b/core/include/fpdfapi/fpdf_objects.h
index fdf11720f4..a53907b1f0 100644
--- a/core/include/fpdfapi/fpdf_objects.h
+++ b/core/include/fpdfapi/fpdf_objects.h
@@ -102,7 +102,7 @@ class CPDF_Object {
~CPDF_Object() {}
void Destroy();
- const CPDF_Object* const GetBasicObject() const;
+ const CPDF_Object* GetBasicObject() const;
FX_DWORD m_Type;
FX_DWORD m_ObjNum;
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp
index a3b0568931..56f5a2c4b4 100644
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp
@@ -46,7 +46,7 @@ void CPDF_Object::Destroy() {
}
}
-const CPDF_Object* const CPDF_Object::GetBasicObject() const {
+const CPDF_Object* CPDF_Object::GetBasicObject() const {
const CPDF_Reference* pRef = AsReference();
if (!pRef) {
// This is not an indirect reference.