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 8a38352f..c55506a5 100644
--- a/libqpdf/QPDFObjectHandle.cc
+++ b/libqpdf/QPDFObjectHandle.cc
@@ -2595,9 +2595,7 @@ QPDFObjectHandle::dereference()
if (!isInitialized()) {
return false;
}
- if (this->obj->isUnresolved()) {
- QPDF::Resolver::resolve(this->qpdf, getObjGen());
- }
+ this->obj->resolve();
return true;
}