aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_encryption.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-07-16 12:21:11 +0200
committerm-holger <m-holger@kubitscheck.org>2022-07-24 16:41:48 +0200
commiteeb6162f7620fba49bb141ccd2c715cd829c8e24 (patch)
tree60869241401c5c4c673a54f1e00360bbf02a4542 /libqpdf/QPDF_encryption.cc
parent6f1041afb8e6d1f57169cd4c79f42a7c1ce94da8 (diff)
downloadqpdf-eeb6162f7620fba49bb141ccd2c715cd829c8e24.tar.zst
Add optional parameter separator to QPDFObjGen::unparse
Also, revert inlining of unparse and operator << from commit 4c6640c in order to avoid exposing QUtil.
Diffstat (limited to 'libqpdf/QPDF_encryption.cc')
-rw-r--r--libqpdf/QPDF_encryption.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc
index 5a7968ca..95d5ea37 100644
--- a/libqpdf/QPDF_encryption.cc
+++ b/libqpdf/QPDF_encryption.cc
@@ -1176,8 +1176,7 @@ QPDF::decryptString(std::string& str, int objid, int generation)
this->m->last_object_description,
this->m->file->getLastOffset(),
"error decrypting string for object " +
- QUtil::int_to_string(objid) + " " +
- QUtil::int_to_string(generation) + ": " + e.what());
+ QPDFObjGen(objid, generation).unparse() + ": " + e.what());
}
}