2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-03-29 12:52:24 +00:00

Remove restriction that only owned objects can have descriptions

This commit is contained in:
m-holger 2023-02-15 11:07:37 +00:00
parent 32907fc14c
commit f989de1bd7

View File

@ -52,8 +52,7 @@ class QPDFValue
bool bool
hasDescription() hasDescription()
{ {
return qpdf != nullptr && object_description && return object_description != nullptr;
!getDescription().empty();
} }
void void
setParsedOffset(qpdf_offset_t offset) setParsedOffset(qpdf_offset_t offset)