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 23:38:22 +0100
commitc62e8e2b285b9b401d6add5a7a0da98c7ea86373 (patch)
tree040e8fa45d6b459200e57e26fbacad6ddd7414f1 /libqpdf/QPDFOutlineDocumentHelper.cc
parent3f22bea084d8d64cba1a433726abd709caf8456b (diff)
downloadqpdf-c62e8e2b285b9b401d6add5a7a0da98c7ea86373.tar.zst
Update for clean compile with POINTERHOLDER_TRANSITION=2
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);
}
}
}