Commit 2693a082abc9ff73a1cc2fa4442cded0ae716a08

Authored by m-holger
Committed by Jay Berkenbilt
1 parent 5057bfa6

Fix check for direct nulls in QPDFParser::parse

Showing 1 changed file with 1 additions and 1 deletions
libqpdf/QPDFParser.cc
@@ -284,7 +284,7 @@ QPDFParser::parse(bool& empty, bool content_stream) @@ -284,7 +284,7 @@ QPDFParser::parse(bool& empty, bool content_stream)
284 284
285 case st_dictionary: 285 case st_dictionary:
286 case st_array: 286 case st_array:
287 - if (!indirect_ref && !object.isDirectNull()) { 287 + if (!indirect_ref && !is_null) {
288 // No need to set description for direct nulls - they will 288 // No need to set description for direct nulls - they will
289 // become implicit. 289 // become implicit.
290 setDescriptionFromInput(object, input->getLastOffset()); 290 setDescriptionFromInput(object, input->getLastOffset());