aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDFValue.hh
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/qpdf/QPDFValue.hh')
-rw-r--r--libqpdf/qpdf/QPDFValue.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/libqpdf/qpdf/QPDFValue.hh b/libqpdf/qpdf/QPDFValue.hh
index eef088f9..e7904253 100644
--- a/libqpdf/qpdf/QPDFValue.hh
+++ b/libqpdf/qpdf/QPDFValue.hh
@@ -52,8 +52,7 @@ class QPDFValue
bool
hasDescription()
{
- return qpdf != nullptr && object_description &&
- !getDescription().empty();
+ return object_description != nullptr;
}
void
setParsedOffset(qpdf_offset_t offset)