summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-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.