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, 2 insertions, 2 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc
index 556e3a1e..d31af881 100644
--- a/libqpdf/QPDFObjectHandle.cc
+++ b/libqpdf/QPDFObjectHandle.cc
@@ -249,7 +249,7 @@ QPDFObjectHandle::operator!=(QPDFObjectHandle const& rhs) const
}
void
-QPDFObjectHandle::reset()
+QPDFObjectHandle::disconnect()
{
// Recursively remove association with any QPDF object. This
// method may only be called during final destruction.
@@ -257,7 +257,7 @@ QPDFObjectHandle::reset()
// pointer itself, so we don't do that here. Other objects call it
// through this method.
if (!isIndirect()) {
- this->obj->reset();
+ this->obj->disconnect();
}
}