aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFOutlineObjectHelper.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/QPDFOutlineObjectHelper.cc
parent3f22bea084d8d64cba1a433726abd709caf8456b (diff)
downloadqpdf-c62e8e2b285b9b401d6add5a7a0da98c7ea86373.tar.zst
Update for clean compile with POINTERHOLDER_TRANSITION=2
Diffstat (limited to 'libqpdf/QPDFOutlineObjectHelper.cc')
-rw-r--r--libqpdf/QPDFOutlineObjectHelper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFOutlineObjectHelper.cc b/libqpdf/QPDFOutlineObjectHelper.cc
index eae2b26b..cf6d3fcf 100644
--- a/libqpdf/QPDFOutlineObjectHelper.cc
+++ b/libqpdf/QPDFOutlineObjectHelper.cc
@@ -34,7 +34,7 @@ QPDFOutlineObjectHelper::QPDFOutlineObjectHelper(
while (! cur.isNull())
{
QPDFOutlineObjectHelper new_ooh(cur, dh, 1 + depth);
- new_ooh.m->parent = new QPDFOutlineObjectHelper(*this);
+ new_ooh.m->parent = make_pointer_holder<QPDFOutlineObjectHelper>(*this);
this->m->kids.push_back(new_ooh);
cur = cur.getKey("/Next");
}