diff options
Diffstat (limited to 'libqpdf/OHArray.cc')
-rw-r--r-- | libqpdf/OHArray.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libqpdf/OHArray.cc b/libqpdf/OHArray.cc index dc01421f..ce6a595e 100644 --- a/libqpdf/OHArray.cc +++ b/libqpdf/OHArray.cc @@ -12,26 +12,6 @@ OHArray::OHArray() } void -OHArray::disconnect() -{ - for (auto const& iter: elements) { - if (iter) { - QPDFObjectHandle oh = iter; - QPDFObjectHandle::DisconnectAccess::disconnect(oh); - } - } -} - -void -OHArray::setAt(size_t idx, QPDFObjectHandle oh) -{ - if (idx >= elements.size()) { - throw std::logic_error("bounds error setting item in OHArray"); - } - elements[idx] = oh.getObj(); -} - -void OHArray::erase(size_t idx) { if (idx >= elements.size()) { |