diff options
Diffstat (limited to 'libqpdf/QPDFObjectHandle.cc')
-rw-r--r-- | libqpdf/QPDFObjectHandle.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index 83369b54..4b1ebe43 100644 --- a/libqpdf/QPDFObjectHandle.cc +++ b/libqpdf/QPDFObjectHandle.cc @@ -236,22 +236,6 @@ LastChar::getLastChar() return this->last_char; } -void -QPDFObjectHandle::releaseResolved() -{ - // Recursively break any resolved references to indirect objects. - // Do not cross over indirect object boundaries to avoid an - // infinite loop. This method may only be called during final - // destruction. See comments in QPDF::~QPDF(). - if (this->obj.get()) { - if (isIndirect()) { - this->obj = nullptr; - } else { - this->obj->releaseResolved(); - } - } -} - qpdf_object_type_e QPDFObjectHandle::getTypeCode() { |