diff options
Diffstat (limited to 'libqpdf/QPDFAcroFormDocumentHelper.cc')
-rw-r--r-- | libqpdf/QPDFAcroFormDocumentHelper.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libqpdf/QPDFAcroFormDocumentHelper.cc b/libqpdf/QPDFAcroFormDocumentHelper.cc index 2991e578..84ddd432 100644 --- a/libqpdf/QPDFAcroFormDocumentHelper.cc +++ b/libqpdf/QPDFAcroFormDocumentHelper.cc @@ -439,7 +439,7 @@ QPDFAcroFormDocumentHelper::transformAnnotations( } }; - for (auto annot: QPDFArrayItems(old_annots)) + for (auto annot: old_annots.aitems()) { if (annot.isStream()) { @@ -620,7 +620,7 @@ QPDFAcroFormDocumentHelper::transformAnnotations( }; if (apdict.isDictionary()) { - for (auto& ap: QPDFDictItems(apdict)) + for (auto& ap: apdict.ditems()) { if (ap.second.isStream()) { @@ -629,7 +629,7 @@ QPDFAcroFormDocumentHelper::transformAnnotations( } else if (ap.second.isDictionary()) { - for (auto& ap2: QPDFDictItems(ap.second)) + for (auto& ap2: ap.second.ditems()) { if (ap2.second.isStream()) { |