aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFOutlineDocumentHelper.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-08-07 14:41:50 +0200
committerGitHub <noreply@github.com>2022-08-07 14:41:50 +0200
commitb90adb1c6ce922fe80d0e3287d76b181bffa4c44 (patch)
tree2f6766238f3d4e9048e77dc5fe9bfd7108202593 /libqpdf/QPDFOutlineDocumentHelper.cc
parent7537391222e1b592beb7a294efe34dd393409d07 (diff)
parent7c6901bce574fa35a610de1bec90512c6e84d05d (diff)
downloadqpdf-b90adb1c6ce922fe80d0e3287d76b181bffa4c44.tar.zst
Merge pull request #746 from m-holger/smart
Code tidy: remove redundant calls to smart_ptrs get() method
Diffstat (limited to 'libqpdf/QPDFOutlineDocumentHelper.cc')
-rw-r--r--libqpdf/QPDFOutlineDocumentHelper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFOutlineDocumentHelper.cc b/libqpdf/QPDFOutlineDocumentHelper.cc
index 4149ea1e..5b2f71f6 100644
--- a/libqpdf/QPDFOutlineDocumentHelper.cc
+++ b/libqpdf/QPDFOutlineDocumentHelper.cc
@@ -82,7 +82,7 @@ QPDFOutlineDocumentHelper::resolveNamedDest(QPDFObjectHandle name)
result = this->m->dest_dict.getKey(name.getName());
}
} else if (name.isString()) {
- if (nullptr == this->m->names_dest.get()) {
+ if (nullptr == this->m->names_dest) {
QPDFObjectHandle names = this->qpdf.getRoot().getKey("/Names");
if (names.isDictionary()) {
QPDFObjectHandle dests = names.getKey("/Dests");