diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-08-01 20:22:37 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-08-01 20:22:37 +0200 |
commit | 1553868c4ada61c79b92729dc2bd22d21c319d0d (patch) | |
tree | beb3dbf5c240a5156f8628e723686782a6d2e01e /libqpdf/QPDFAcroFormDocumentHelper.cc | |
parent | a9c0b026683cc1f9f86a22a0e080940f55d5760d (diff) | |
download | qpdf-1553868c4ada61c79b92729dc2bd22d21c319d0d.tar.zst |
Add QPDF::getObject to replace getObjectByObjGen and getObjectByID
For consistency with similar methods, e.g. replaceObject.
Diffstat (limited to 'libqpdf/QPDFAcroFormDocumentHelper.cc')
-rw-r--r-- | libqpdf/QPDFAcroFormDocumentHelper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFAcroFormDocumentHelper.cc b/libqpdf/QPDFAcroFormDocumentHelper.cc index 23d021ff..6fec0587 100644 --- a/libqpdf/QPDFAcroFormDocumentHelper.cc +++ b/libqpdf/QPDFAcroFormDocumentHelper.cc @@ -183,7 +183,7 @@ QPDFAcroFormDocumentHelper::getFormFields() analyze(); std::vector<QPDFFormFieldObjectHelper> result; for (auto const& iter: this->m->field_to_annotations) { - result.push_back(this->qpdf.getObjectByObjGen(iter.first)); + result.push_back(this->qpdf.getObject(iter.first)); } return result; } |