diff options
Diffstat (limited to 'libqpdf/QPDFOutlineDocumentHelper.cc')
-rw-r--r-- | libqpdf/QPDFOutlineDocumentHelper.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libqpdf/QPDFOutlineDocumentHelper.cc b/libqpdf/QPDFOutlineDocumentHelper.cc index 49a767bb..c8d08288 100644 --- a/libqpdf/QPDFOutlineDocumentHelper.cc +++ b/libqpdf/QPDFOutlineDocumentHelper.cc @@ -114,7 +114,8 @@ QPDFOutlineDocumentHelper::resolveNamedDest(QPDFObjectHandle name) if (dests.isDictionary()) { this->m->names_dest = - new QPDFNameTreeObjectHelper(dests, this->qpdf); + make_pointer_holder<QPDFNameTreeObjectHelper>( + dests, this->qpdf); } } } |