From 2e6869483bba657515aad305a3aa7013e477c448 Mon Sep 17 00:00:00 2001 From: m-holger Date: Wed, 21 Sep 2022 17:49:21 +0100 Subject: Replace calls to QUtil::int_to_string with std::to_string --- libqpdf/QPDFParser.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libqpdf/QPDFParser.cc') 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 -- cgit v1.2.3-54-g00ecf