Index: core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp |
diff --git a/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp b/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp |
index 1ffcfbf0a3a2033fab001a838d18b1b068fee245..f8e7cb86c3dcc48af0d848b9958849c3e8c0c962 100644 |
--- a/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp |
+++ b/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp |
@@ -1290,7 +1290,7 @@ int32_t CPDF_Creator::WriteOldIndirectObject(FX_DWORD objnum) { |
(m_pParser->m_V5Type[objnum] == 2) && m_pEncryptDict && !m_pXRefStream; |
if (m_pParser->m_bVersionUpdated || m_bSecurityChanged || bExistInMap || |
bObjStm) { |
- CPDF_Object* pObj = m_pDocument->GetIndirectObject(objnum, nullptr); |
+ CPDF_Object* pObj = m_pDocument->GetIndirectObject(objnum); |
if (!pObj) { |
m_ObjectOffset[objnum] = 0; |
return 0; |