Commit f989de1bd7b21f4782dd46decd2c63ac4b024705

Authored by m-holger
1 parent 32907fc1

Remove restriction that only owned objects can have descriptions

Showing 1 changed file with 1 additions and 2 deletions
libqpdf/qpdf/QPDFValue.hh
... ... @@ -52,8 +52,7 @@ class QPDFValue
52 52 bool
53 53 hasDescription()
54 54 {
55   - return qpdf != nullptr && object_description &&
56   - !getDescription().empty();
  55 + return object_description != nullptr;
57 56 }
58 57 void
59 58 setParsedOffset(qpdf_offset_t offset)
... ...