diff options
Diffstat (limited to 'sc/inc/dpcache.hxx')
-rw-r--r-- | sc/inc/dpcache.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/dpcache.hxx b/sc/inc/dpcache.hxx index 2880c5a72701..4c5e1bf4c0f4 100644 --- a/sc/inc/dpcache.hxx +++ b/sc/inc/dpcache.hxx @@ -57,7 +57,7 @@ struct ScDPNumGroupInfo; class SC_DLLPUBLIC ScDPCache : boost::noncopyable { public: - typedef boost::ptr_vector<ScDPItemData> DataListType; + typedef std::vector<ScDPItemData> DataListType; typedef std::set<ScDPObject*> ObjectSetType; typedef std::vector<rtl::OUString> LabelsType; typedef std::vector<SCROW> IndexArrayType; @@ -166,9 +166,10 @@ public: ~ScDPCache(); private: + void PostInit(); void Clear(); void AddLabel(const rtl::OUString& rLabel); - bool AddData(long nDim, ScDPItemData* pData, sal_uLong nNumFormat); + bool AddData(long nDim, const ScDPItemData& rData, sal_uLong nNumFormat); const GroupItems* GetGroupItems(long nDim) const; }; |