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/Pl_DCT.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libqpdf/Pl_DCT.cc') diff --git a/libqpdf/Pl_DCT.cc b/libqpdf/Pl_DCT.cc index 9c33b6e1..f7cc4b75 100644 --- a/libqpdf/Pl_DCT.cc +++ b/libqpdf/Pl_DCT.cc @@ -302,9 +302,8 @@ Pl_DCT::compress(void* cinfo_p, Buffer* b) QIntC::to_size(cinfo->input_components); if (b->getSize() != expected_size) { throw std::runtime_error( - "Pl_DCT: image buffer size = " + - QUtil::uint_to_string(b->getSize()) + - "; expected size = " + QUtil::uint_to_string(expected_size)); + "Pl_DCT: image buffer size = " + std::to_string(b->getSize()) + + "; expected size = " + std::to_string(expected_size)); } JSAMPROW row_pointer[1]; unsigned char* buffer = b->getBuffer(); -- cgit v1.2.3-70-g09d2