mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-22 22:58:33 +00:00
Update to new name/number tree API
This commit is contained in:
parent
accb891b4f
commit
4d1f2fdcac
@ -106,7 +106,7 @@ QPDFOutlineDocumentHelper::resolveNamedDest(QPDFObjectHandle name)
|
||||
if (dests.isDictionary())
|
||||
{
|
||||
this->m->names_dest =
|
||||
new QPDFNameTreeObjectHelper(dests);
|
||||
new QPDFNameTreeObjectHelper(dests, this->qpdf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user