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 45635f8a..31cd2dbc 100644
--- a/libqpdf/QPDF_Array.cc
+++ b/libqpdf/QPDF_Array.cc
@@ -136,3 +136,9 @@ QPDF_Array::eraseItem(int at)
{
this->elements.erase(QIntC::to_size(at));
}
+
+SparseOHArray const&
+QPDF_Array::getElementsForShallowCopy() const
+{
+ return this->elements;
+}