diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-13 10:30:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-13 10:54:20 +0200 |
commit | 343ec4b7234f4eb9709f09d453131100d3283ddc (patch) | |
tree | be2bb9566746b026b2bae1a4cfc6fc69e3f21641 /sc/inc/pivot.hxx | |
parent | 280553e30f4ddc932838f98a9efaac03a988a0df (diff) |
sc: boost::ptr_vector->std::vector<std::unique_ptr>
Change-Id: I21fdb9f503241c2fa38f3de059a1f674a6631c78
Diffstat (limited to 'sc/inc/pivot.hxx')
-rw-r--r-- | sc/inc/pivot.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx index 35e6e6081338..073fab2f9e4d 100644 --- a/sc/inc/pivot.hxx +++ b/sc/inc/pivot.hxx @@ -42,20 +42,21 @@ #include "calcmacros.hxx" #include <vector> -#include <boost/ptr_container/ptr_vector.hpp> +#include <memory> -#define PIVOT_DATA_FIELD (MAXCOLCOUNT) #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/sheet/DataPilotFieldReference.hpp> #include <com/sun/star/sheet/DataPilotFieldSortInfo.hpp> #include <com/sun/star/sheet/DataPilotFieldLayoutInfo.hpp> #include <com/sun/star/sheet/DataPilotFieldAutoShowInfo.hpp> +#define PIVOT_DATA_FIELD (MAXCOLCOUNT) + struct SC_DLLPUBLIC ScDPName { OUString maName; ///< Original name of the dimension. OUString maLayoutName; ///< Layout name (display name) - sal_uInt8 mnDupCount; + sal_uInt8 mnDupCount; ScDPName(); explicit ScDPName(const OUString& rName, const OUString& rLayoutName, sal_uInt8 nDupCount); @@ -108,7 +109,7 @@ struct ScDPLabelData OUString SC_DLLPUBLIC getDisplayName() const; }; -typedef boost::ptr_vector<ScDPLabelData> ScDPLabelDataVector; +typedef std::vector< std::unique_ptr<ScDPLabelData> > ScDPLabelDataVector; struct ScPivotField { |