diff options
author | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-08-06 20:23:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 20:23:56 +0200 |
commit | a3037ca440e2a7cf9b5d377c932f2d322f31dace (patch) | |
tree | 94037a91955dc18b326775e9a7daa3b87c0138a8 /libqpdf/QPDFWriter.cc | |
parent | 8095006668dc2e9634f55885ae44b8538a39361e (diff) | |
parent | 1553868c4ada61c79b92729dc2bd22d21c319d0d (diff) | |
download | qpdf-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.cc | 2 |
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 |