diff options
Diffstat (limited to 'core/fpdfapi/parser/cpdf_document.cpp')
-rw-r--r-- | core/fpdfapi/parser/cpdf_document.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_document.cpp b/core/fpdfapi/parser/cpdf_document.cpp index eb2ab554c7..1c73ce1015 100644 --- a/core/fpdfapi/parser/cpdf_document.cpp +++ b/core/fpdfapi/parser/cpdf_document.cpp @@ -354,7 +354,8 @@ CPDF_Document::~CPDF_Document() { m_pByteStringPool.DeleteObject(); // Make weak. } -CPDF_Object* CPDF_Document::ParseIndirectObject(uint32_t objnum) { +std::unique_ptr<CPDF_Object> CPDF_Document::ParseIndirectObject( + uint32_t objnum) { return m_pParser ? m_pParser->ParseIndirectObject(this, objnum) : nullptr; } |