diff options
Diffstat (limited to 'libqpdf/QPDFObjectHandle.cc')
-rw-r--r-- | libqpdf/QPDFObjectHandle.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index f3d1883a..6ac69ab1 100644 --- a/libqpdf/QPDFObjectHandle.cc +++ b/libqpdf/QPDFObjectHandle.cc @@ -3228,6 +3228,7 @@ QPDFObjectHandle::dereference() this->obj = std::shared_ptr<QPDFObject>(new QPDF_Null()); } else if (dynamic_cast<QPDF_Reserved*>(obj.get())) { // Do not resolve + this->reserved = true; } else { this->reserved = false; this->obj = obj; |