aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFAcroFormDocumentHelper.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-08-01 20:22:37 +0200
committerm-holger <m-holger@kubitscheck.org>2022-08-01 20:22:37 +0200
commit1553868c4ada61c79b92729dc2bd22d21c319d0d (patch)
treebeb3dbf5c240a5156f8628e723686782a6d2e01e /libqpdf/QPDFAcroFormDocumentHelper.cc
parenta9c0b026683cc1f9f86a22a0e080940f55d5760d (diff)
downloadqpdf-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.cc2
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;
}