diff options
Diffstat (limited to 'libqpdf/QPDFObjectHandle.cc')
-rw-r--r-- | libqpdf/QPDFObjectHandle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index c8611e07..aae06529 100644 --- a/libqpdf/QPDFObjectHandle.cc +++ b/libqpdf/QPDFObjectHandle.cc @@ -2609,7 +2609,7 @@ QPDFObjectHandle::dereference() if (!isInitialized()) { return false; } - if (this->obj->getTypeCode() == QPDFObject::ot_unresolved) { + if (this->obj->isUnresolved()) { this->obj = QPDF::Resolver::resolve(this->qpdf, getObjGen()); } return true; |