2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +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
hasDescription()
{
return qpdf != nullptr && object_description &&
!getDescription().empty();
return object_description != nullptr;
}
void
setParsedOffset(qpdf_offset_t offset)