diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-08-07 11:33:25 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-08-07 11:33:25 +0200 |
commit | 7c6901bce574fa35a610de1bec90512c6e84d05d (patch) | |
tree | 122be9afae6fbee5f4fa524d27d00251b0fcdb05 /libqpdf/QPDFOutlineDocumentHelper.cc | |
parent | a9c0b026683cc1f9f86a22a0e080940f55d5760d (diff) | |
download | qpdf-7c6901bce574fa35a610de1bec90512c6e84d05d.tar.zst |
Code tidy: remove redundant calls to smart_ptrs get() method
Diffstat (limited to 'libqpdf/QPDFOutlineDocumentHelper.cc')
-rw-r--r-- | libqpdf/QPDFOutlineDocumentHelper.cc | 2 |
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"); |