diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-02-10 21:01:59 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-02-10 21:46:20 +0100 |
commit | 4d1f2fdcac8ee8734be02f2c2389c587bc3fc474 (patch) | |
tree | e26b7bc153334954b30811d6da4d57d4575cc86d | |
parent | accb891b4f785b94ad9d2a6d415d9987a13747c9 (diff) | |
download | qpdf-4d1f2fdcac8ee8734be02f2c2389c587bc3fc474.tar.zst |
Update to new name/number tree API
-rw-r--r-- | libqpdf/QPDFOutlineDocumentHelper.cc | 2 | ||||
-rw-r--r-- | libqpdf/QPDFPageLabelDocumentHelper.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/QPDFOutlineDocumentHelper.cc b/libqpdf/QPDFOutlineDocumentHelper.cc index b736ff08..85aff76b 100644 --- a/libqpdf/QPDFOutlineDocumentHelper.cc +++ b/libqpdf/QPDFOutlineDocumentHelper.cc @@ -106,7 +106,7 @@ QPDFOutlineDocumentHelper::resolveNamedDest(QPDFObjectHandle name) if (dests.isDictionary()) { this->m->names_dest = - new QPDFNameTreeObjectHelper(dests); + new QPDFNameTreeObjectHelper(dests, this->qpdf); } } } diff --git a/libqpdf/QPDFPageLabelDocumentHelper.cc b/libqpdf/QPDFPageLabelDocumentHelper.cc index 4be9073f..9e374f2c 100644 --- a/libqpdf/QPDFPageLabelDocumentHelper.cc +++ b/libqpdf/QPDFPageLabelDocumentHelper.cc @@ -17,7 +17,7 @@ QPDFPageLabelDocumentHelper::QPDFPageLabelDocumentHelper(QPDF& qpdf) : if (root.hasKey("/PageLabels")) { this->m->labels = new QPDFNumberTreeObjectHelper( - root.getKey("/PageLabels")); + root.getKey("/PageLabels"), this->qpdf); } } |