aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-07-13 15:24:19 +0200
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-10-01 17:17:39 +0200
commitcb0a6be983b7e4ee2784991273777579dcb90b9d (patch)
tree5f07ee022874b651f0c36016cb5df10cd32ffffe /libqpdf/QPDF.cc
parent5ccab4be03701744f9795b37b4e5835b1a7b1c1d (diff)
downloadqpdf-cb0a6be983b7e4ee2784991273777579dcb90b9d.tar.zst
Code tidy: use QPDF::toS and QPDF::toI where possible
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 b0a972f1..57e3f592 100644
--- a/libqpdf/QPDF.cc
+++ b/libqpdf/QPDF.cc
@@ -1911,7 +1911,7 @@ QPDF::resolveObjectsInStream(int obj_stream_number)
int num = QUtil::string_to_int(tnum.getValue().c_str());
long long offset = QUtil::string_to_int(toffset.getValue().c_str());
- offsets[num] = QIntC::to_int(offset + first);
+ offsets[num] = toI(offset + first);
}
// To avoid having to read the object stream multiple times, store