aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFParser.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2024-02-04 22:11:53 +0100
committerJay Berkenbilt <ejb@ql.org>2024-02-04 22:12:01 +0100
commit7caa9ddf5a8b272c94fa5d4c079f2be8eabff983 (patch)
tree64451d1714bb5625cc45cbcbef96175756fee457 /libqpdf/QPDFParser.cc
parent532cc58d7e1ad73d2e724abb0bb21af90e791d30 (diff)
downloadqpdf-7caa9ddf5a8b272c94fa5d4c079f2be8eabff983.tar.zst
Format code
Diffstat (limited to 'libqpdf/QPDFParser.cc')
-rw-r--r--libqpdf/QPDFParser.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libqpdf/QPDFParser.cc b/libqpdf/QPDFParser.cc
index 2551cf93..56448364 100644
--- a/libqpdf/QPDFParser.cc
+++ b/libqpdf/QPDFParser.cc
@@ -253,8 +253,9 @@ QPDFParser::parseRemainder(bool content_stream)
dict[frame->key] = QPDF_Null::create();
}
- if (!frame->olist.empty())
+ if (!frame->olist.empty()) {
fixMissingKeys();
+ }
if (!frame->contents_string.empty() && dict.count("/Type") &&
dict["/Type"].isNameAndEquals("/Sig") && dict.count("/ByteRange") &&