aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFParser.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-09-21 18:49:21 +0200
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-09-21 21:57:14 +0200
commit2e6869483bba657515aad305a3aa7013e477c448 (patch)
tree0487066d6069127082a5f176baf031e6ec6308b0 /libqpdf/QPDFParser.cc
parentda67a0aa043c2c8ad129fbc87b93afcdab7042a7 (diff)
downloadqpdf-2e6869483bba657515aad305a3aa7013e477c448.tar.zst
Replace calls to QUtil::int_to_string with std::to_string
Diffstat (limited to 'libqpdf/QPDFParser.cc')
-rw-r--r--libqpdf/QPDFParser.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libqpdf/QPDFParser.cc b/libqpdf/QPDFParser.cc
index 9aa1f426..452e741b 100644
--- a/libqpdf/QPDFParser.cc
+++ b/libqpdf/QPDFParser.cc
@@ -335,8 +335,8 @@ QPDFParser::parse(bool& empty, bool content_stream)
bool found_fake = false;
std::string candidate;
while (!found_fake) {
- candidate = "/QPDFFake" +
- QUtil::int_to_string(next_fake_key++);
+ candidate =
+ "/QPDFFake" + std::to_string(next_fake_key++);
found_fake = (names.count(candidate) == 0);
QTC::TC(
"qpdf",
@@ -416,7 +416,7 @@ QPDFParser::setDescriptionFromInput(
oh.setObjectDescription(
context,
(input->getName() + ", " + object_description + " at offset " +
- QUtil::int_to_string(offset)));
+ std::to_string(offset)));
}
void