aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFWriter.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-08-06 20:23:56 +0200
committerGitHub <noreply@github.com>2022-08-06 20:23:56 +0200
commita3037ca440e2a7cf9b5d377c932f2d322f31dace (patch)
tree94037a91955dc18b326775e9a7daa3b87c0138a8 /libqpdf/QPDFWriter.cc
parent8095006668dc2e9634f55885ae44b8538a39361e (diff)
parent1553868c4ada61c79b92729dc2bd22d21c319d0d (diff)
downloadqpdf-a3037ca440e2a7cf9b5d377c932f2d322f31dace.tar.zst
Merge pull request #739 from m-holger/getobject
Add QPDF::getObject to replace getObjectByObjGen and getObjectByID
Diffstat (limited to 'libqpdf/QPDFWriter.cc')
-rw-r--r--libqpdf/QPDFWriter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFWriter.cc b/libqpdf/QPDFWriter.cc
index e33d0965..028f73dc 100644
--- a/libqpdf/QPDFWriter.cc
+++ b/libqpdf/QPDFWriter.cc
@@ -1897,7 +1897,7 @@ QPDFWriter::writeObjectStream(QPDFObjectHandle object)
// pass 1.
indicateProgress(true, false);
}
- QPDFObjectHandle obj_to_write = this->m->pdf.getObjectByObjGen(obj);
+ QPDFObjectHandle obj_to_write = this->m->pdf.getObject(obj);
if (obj_to_write.isStream()) {
// This condition occurred in a fuzz input. Ideally we
// should block it at at parse time, but it's not