diff options
Diffstat (limited to 'libqpdf')
-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); } } |