aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFOutlineDocumentHelper.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-02-06 17:40:24 +0100
committerJay Berkenbilt <ejb@ql.org>2022-02-07 22:21:36 +0100
commitb606e750eee1d0a22adeb7f804aa3f4bfe0085c2 (patch)
tree56c0454092f257a3e9aabd943f31adf8f1389620 /libqpdf/QPDFOutlineDocumentHelper.cc
parentb0f1f5c5d5bea8a10cfa8fd204651ceb9bf9df2b (diff)
downloadqpdf-doc-check.tar.zst
Update for clean compile with POINTERHOLDER_TRANSITION=2doc-check
Diffstat (limited to 'libqpdf/QPDFOutlineDocumentHelper.cc')
-rw-r--r--libqpdf/QPDFOutlineDocumentHelper.cc3
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);
}
}
}