aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/OHArray.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/OHArray.cc')
-rw-r--r--libqpdf/OHArray.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/libqpdf/OHArray.cc b/libqpdf/OHArray.cc
index 22b99b13..dc01421f 100644
--- a/libqpdf/OHArray.cc
+++ b/libqpdf/OHArray.cc
@@ -11,17 +11,6 @@ OHArray::OHArray()
{
}
-QPDFObjectHandle
-OHArray::at(size_t idx) const
-{
- if (idx >= elements.size()) {
- throw std::logic_error(
- "INTERNAL ERROR: bounds error accessing OHArray element");
- }
- auto const& obj = elements.at(idx);
- return obj ? obj : null_oh;
-}
-
void
OHArray::disconnect()
{