mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-30 08:50:51 +00:00
Fix check for direct nulls in QPDFParser::parse
This commit is contained in:
parent
5057bfa642
commit
2693a082ab
|
@ -284,7 +284,7 @@ QPDFParser::parse(bool& empty, bool content_stream)
|
|||
|
||||
case st_dictionary:
|
||||
case st_array:
|
||||
if (!indirect_ref && !object.isDirectNull()) {
|
||||
if (!indirect_ref && !is_null) {
|
||||
// No need to set description for direct nulls - they will
|
||||
// become implicit.
|
||||
setDescriptionFromInput(object, input->getLastOffset());
|
||||
|
|
Loading…
Reference in New Issue
Block a user