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.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Array.cc b/libqpdf/QPDF_Array.cc
index ae70bd67..ab61f307 100644
--- a/libqpdf/QPDF_Array.cc
+++ b/libqpdf/QPDF_Array.cc
@@ -51,6 +51,12 @@ QPDF_Array::getItem(int n) const
return this->items[n];
}
+std::vector<QPDFObjectHandle> const&
+QPDF_Array::getAsVector() const
+{
+ return this->items;
+}
+
void
QPDF_Array::setItem(int n, QPDFObjectHandle const& oh)
{