aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-16 19:37:22 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-16 19:39:26 +0200
commit9a0e9a1a9e6072807cfea78910dd5d85bff48ea2 (patch)
treea84603404a77a2290a45970c24bab8e142e14bd3 /libqpdf/QPDF.cc
parent051ae7c282b5487a0dfb5214b9855cd45066c813 (diff)
downloadqpdf-9a0e9a1a9e6072807cfea78910dd5d85bff48ea2.tar.zst
Remove offset from missing /Root error
The last offset is irrelevant to not being able to find /Root.
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r--libqpdf/QPDF.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc
index 8b8dd59e..2658dd26 100644
--- a/libqpdf/QPDF.cc
+++ b/libqpdf/QPDF.cc
@@ -2592,7 +2592,7 @@ QPDF::getRoot()
qpdf_e_damaged_pdf,
this->m->file->getName(),
"",
- this->m->file->getLastOffset(),
+ 0,
"unable to find /Root dictionary");
}
return root;