aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFAcroFormDocumentHelper.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/QPDFAcroFormDocumentHelper.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/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;
}