aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Array.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF_Array.cc')
-rw-r--r--libqpdf/QPDF_Array.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/libqpdf/QPDF_Array.cc b/libqpdf/QPDF_Array.cc
index 6568db96..9368ca51 100644
--- a/libqpdf/QPDF_Array.cc
+++ b/libqpdf/QPDF_Array.cc
@@ -142,18 +142,6 @@ QPDF_Array::getJSON(int json_version)
}
}
-int
-QPDF_Array::getNItems() const
-{
- if (sparse) {
- // This should really return a size_t, but changing it would break
- // a lot of code.
- return QIntC::to_int(sp_elements.size());
- } else {
- return QIntC::to_int(elements.size());
- }
-}
-
QPDFObjectHandle
QPDF_Array::getItem(int n) const
{