diff options
Diffstat (limited to 'libqpdf/QPDFOutlineObjectHelper.cc')
-rw-r--r-- | libqpdf/QPDFOutlineObjectHelper.cc | 2 |
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"); } |