diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-02-15 12:07:37 +0100 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-02-18 09:33:08 +0100 |
commit | f989de1bd7b21f4782dd46decd2c63ac4b024705 (patch) | |
tree | bce455c9cd48c126aa0ecef787180ab767b38bdf | |
parent | 32907fc14c663e95df0f7c62905b82389c0024a2 (diff) | |
download | qpdf-f989de1bd7b21f4782dd46decd2c63ac4b024705.tar.zst |
Remove restriction that only owned objects can have descriptions
-rw-r--r-- | libqpdf/qpdf/QPDFValue.hh | 3 |
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) |