diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-11-06 23:50:59 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-11-09 12:04:12 +0100 |
commit | a3e410a043f42e70836ca564a5cccdd12664b457 (patch) | |
tree | 7465dd7a1323aa871c0f7b788d56c05d447df3b4 /sc/inc/chartarr.hxx | |
parent | 3b49489707447cca30c7bcb54e9bfc6ffc9ab2e1 (diff) |
sc: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: Ic1a44ef591e0d23bbd6574b232370b2888335ebf
Diffstat (limited to 'sc/inc/chartarr.hxx')
-rw-r--r-- | sc/inc/chartarr.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/inc/chartarr.hxx b/sc/inc/chartarr.hxx index 0a60e4036b0e..0cd54ede3892 100644 --- a/sc/inc/chartarr.hxx +++ b/sc/inc/chartarr.hxx @@ -23,7 +23,8 @@ #include "rangelst.hxx" #include "chartpos.hxx" -#include <boost/ptr_container/ptr_vector.hpp> +#include <memory> +#include <vector> class ScDocument; @@ -90,8 +91,9 @@ public: class ScChartCollection { - typedef ::boost::ptr_vector<ScChartArray> DataType; - DataType maData; + typedef ::std::vector<std::unique_ptr<ScChartArray>> DataType; + DataType m_Data; + public: ScChartCollection(); ScChartCollection(const ScChartCollection& rColl); |