diff options
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/QPDFObjectHandle.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index 4c19b377..dca59216 100644 --- a/libqpdf/QPDFObjectHandle.cc +++ b/libqpdf/QPDFObjectHandle.cc @@ -2652,6 +2652,7 @@ QPDFObjectHandle::typeWarning(char const* expected_type, { QPDF* context = 0; std::string description; + dereference(); if (this->obj->getDescription(context, description)) { warn(context, @@ -2674,6 +2675,7 @@ QPDFObjectHandle::warnIfPossible(std::string const& warning, { QPDF* context = 0; std::string description; + dereference(); if (this->obj->getDescription(context, description)) { warn(context, |