Index: core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp |
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp |
index b925cf34e5a77252d71a6e239cffcd7ca312f792..45f93d0afef5d9147280ad464738779fbc29573f 100644 |
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp |
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp |
@@ -54,7 +54,7 @@ const CPDF_Object* CPDF_Object::GetBasicObject() const { |
} |
if (!pRef->m_pObjList) |
return nullptr; |
- return pRef->m_pObjList->GetIndirectObject(pRef->GetRefObjNum(), nullptr); |
+ return pRef->m_pObjList->GetIndirectObject(pRef->GetRefObjNum()); |
} |
CFX_ByteString CPDF_Object::GetString() const { |
@@ -192,7 +192,7 @@ CPDF_Object* CPDF_Object::GetDirect() const { |
return const_cast<CPDF_Object*>(this); |
if (!pRef->m_pObjList) |
return nullptr; |
- return pRef->m_pObjList->GetIndirectObject(pRef->GetRefObjNum(), nullptr); |
+ return pRef->m_pObjList->GetIndirectObject(pRef->GetRefObjNum()); |
} |
CPDF_Object* CPDF_Object::Clone(FX_BOOL bDirect) const { |
@@ -1028,9 +1028,7 @@ CPDF_IndirectObjectHolder::~CPDF_IndirectObjectHolder() { |
pair.second->Destroy(); |
} |
} |
-CPDF_Object* CPDF_IndirectObjectHolder::GetIndirectObject( |
- FX_DWORD objnum, |
- PARSE_CONTEXT* pContext) { |
+CPDF_Object* CPDF_IndirectObjectHolder::GetIndirectObject(FX_DWORD objnum) { |
if (objnum == 0) |
return nullptr; |
@@ -1041,7 +1039,7 @@ CPDF_Object* CPDF_IndirectObjectHolder::GetIndirectObject( |
if (!m_pParser) |
return nullptr; |
- CPDF_Object* pObj = m_pParser->ParseIndirectObject(this, objnum, pContext); |
+ CPDF_Object* pObj = m_pParser->ParseIndirectObject(this, objnum); |
if (!pObj) |
return nullptr; |