aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFObjectHandle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDFObjectHandle.cc')
-rw-r--r--libqpdf/QPDFObjectHandle.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc
index 72a35390..32988b53 100644
--- a/libqpdf/QPDFObjectHandle.cc
+++ b/libqpdf/QPDFObjectHandle.cc
@@ -2611,9 +2611,7 @@ QPDFObjectHandle::dereference()
if (!this->initialized) {
return false;
}
- if ((this->obj->getTypeCode() == QPDFObject::ot_unresolved) ||
- (getObjectID() &&
- QPDF::Resolver::objectChanged(this->qpdf, getObjGen(), this->obj))) {
+ if (this->obj->getTypeCode() == QPDFObject::ot_unresolved) {
this->obj = QPDF::Resolver::resolve(this->qpdf, getObjGen());
}
return true;