aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/Pl_DCT.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/Pl_DCT.cc
parentda67a0aa043c2c8ad129fbc87b93afcdab7042a7 (diff)
downloadqpdf-2e6869483bba657515aad305a3aa7013e477c448.tar.zst
Replace calls to QUtil::int_to_string with std::to_string
Diffstat (limited to 'libqpdf/Pl_DCT.cc')
-rw-r--r--libqpdf/Pl_DCT.cc5
1 files changed, 2 insertions, 3 deletions
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();