diff options
Diffstat (limited to 'libqpdf/qpdf/QPDFObject_private.hh')
-rw-r--r-- | libqpdf/qpdf/QPDFObject_private.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libqpdf/qpdf/QPDFObject_private.hh b/libqpdf/qpdf/QPDFObject_private.hh index 416483c2..4d388503 100644 --- a/libqpdf/qpdf/QPDFObject_private.hh +++ b/libqpdf/qpdf/QPDFObject_private.hh @@ -79,7 +79,9 @@ class QPDFObject bool getDescription(QPDF*& qpdf, std::string& description) { - return value->getDescription(qpdf, description); + qpdf = value->qpdf; + description = value->getDescription(); + return qpdf != nullptr; } bool hasDescription() |