aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-06-17 17:57:02 +0200
committerGitHub <noreply@github.com>2023-06-17 17:57:02 +0200
commit071fe4a0e5c7e6abd6725552d1bf0b6119bce1c9 (patch)
tree794cbb880a1fab838304043ba46cf2792d0511a4 /libqpdf/QPDF.cc
parent0b538ec8779a81d499865a82ffcb4f02f4471743 (diff)
parentd8bbe46eaa6386ac3900a8d75ce7621889bca1f6 (diff)
downloadqpdf-071fe4a0e5c7e6abd6725552d1bf0b6119bce1c9.tar.zst
Merge pull request #985 from m-holger/members
Change JSONHandler::m to std::unique_ptr and declare Members in implementation file
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r--libqpdf/QPDF.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc
index 4df4c264..396dfe8f 100644
--- a/libqpdf/QPDF.cc
+++ b/libqpdf/QPDF.cc
@@ -1482,7 +1482,8 @@ QPDF::readObjectAtOffset(
// Special case: if offset is 0, just return null. Some PDF writers, in particular
// "Mac OS X 10.7.5 Quartz PDFContext", may store deleted objects in the xref table as
- // "0000000000 00000 n", which is not correct, but it won't hurt anything for to ignore these.
+ // "0000000000 00000 n", which is not correct, but it won't hurt anything for us to ignore
+ // these.
if (offset == 0) {
QTC::TC("qpdf", "QPDF bogus 0 offset", 0);
warn(damagedPDF(0, "object has offset 0"));