diff options
-rw-r--r-- | libqpdf/QPDF_Array.cc | 8 | ||||
-rw-r--r-- | libqpdf/qpdf/QPDF_Array.hh | 5 |
2 files changed, 0 insertions, 13 deletions
diff --git a/libqpdf/QPDF_Array.cc b/libqpdf/QPDF_Array.cc index de34103e..93fbf928 100644 --- a/libqpdf/QPDF_Array.cc +++ b/libqpdf/QPDF_Array.cc @@ -154,11 +154,3 @@ QPDF_Array::eraseItem(int at) { this->elements.erase(QIntC::to_size(at)); } - -void -QPDF_Array::addExplicitElementsToList(std::list<QPDFObjectHandle>& l) const -{ - for (auto const& iter: this->elements) { - l.push_back(iter.second); - } -} diff --git a/libqpdf/qpdf/QPDF_Array.hh b/libqpdf/qpdf/QPDF_Array.hh index 56c0101f..88397ba7 100644 --- a/libqpdf/qpdf/QPDF_Array.hh +++ b/libqpdf/qpdf/QPDF_Array.hh @@ -32,11 +32,6 @@ class QPDF_Array: public QPDFValue void appendItem(QPDFObjectHandle const& item); void eraseItem(int at); - // Helper methods for QPDF and QPDFObjectHandle -- these are - // public methods since the whole class is not part of the public - // API. Otherwise, these would be wrapped in accessor classes. - void addExplicitElementsToList(std::list<QPDFObjectHandle>&) const; - private: QPDF_Array(std::vector<QPDFObjectHandle> const& items); QPDF_Array(std::vector<std::shared_ptr<QPDFObject>>&& items); |