Commit 4d1f2fdcac8ee8734be02f2c2389c587bc3fc474

Authored by Jay Berkenbilt
1 parent accb891b

Update to new name/number tree API

libqpdf/QPDFOutlineDocumentHelper.cc
... ... @@ -106,7 +106,7 @@ QPDFOutlineDocumentHelper::resolveNamedDest(QPDFObjectHandle name)
106 106 if (dests.isDictionary())
107 107 {
108 108 this->m->names_dest =
109   - new QPDFNameTreeObjectHelper(dests);
  109 + new QPDFNameTreeObjectHelper(dests, this->qpdf);
110 110 }
111 111 }
112 112 }
... ...
libqpdf/QPDFPageLabelDocumentHelper.cc
... ... @@ -17,7 +17,7 @@ QPDFPageLabelDocumentHelper::QPDFPageLabelDocumentHelper(QPDF& qpdf) :
17 17 if (root.hasKey("/PageLabels"))
18 18 {
19 19 this->m->labels = new QPDFNumberTreeObjectHelper(
20   - root.getKey("/PageLabels"));
  20 + root.getKey("/PageLabels"), this->qpdf);
21 21 }
22 22 }
23 23  
... ...