diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-06 00:56:21 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-06 00:59:10 +0100 |
commit | eb1d9d3cda2da6b00749ff61ea63931f00a5b2b7 (patch) | |
tree | 4d31232cf0d58f153ca474ba8802344f954c9836 /sc/inc/dpgroup.hxx | |
parent | 82d08610465649dd1a49f8b7f6d4e7cf80f15c16 (diff) |
port repository calc to boost unordered containers
Diffstat (limited to 'sc/inc/dpgroup.hxx')
-rw-r--r-- | sc/inc/dpgroup.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx index 2f710339a8ef..223425b5e23f 100644 --- a/sc/inc/dpgroup.hxx +++ b/sc/inc/dpgroup.hxx @@ -30,7 +30,7 @@ #define SC_DPGROUP_HXX #include <vector> -#include <hash_set> +#include <boost/unordered_set.hpp> #include <boost/shared_ptr.hpp> #include "dptabdat.hxx" @@ -179,7 +179,7 @@ public: class ScDPGroupTableData : public ScDPTableData { - typedef ::std::hash_set< ::rtl::OUString, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > StringHashSet; + typedef ::boost::unordered_set< ::rtl::OUString, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > StringHashSet; ::boost::shared_ptr<ScDPTableData> pSourceData; long nSourceCount; @@ -224,9 +224,9 @@ public: virtual bool IsRepeatIfEmpty(); virtual void CreateCacheTable(); - virtual void FilterCacheTable(const ::std::vector<ScDPCacheTable::Criterion>& rCriteria, const ::std::hash_set<sal_Int32>& rDataDims); + virtual void FilterCacheTable(const ::std::vector<ScDPCacheTable::Criterion>& rCriteria, const ::boost::unordered_set<sal_Int32>& rDataDims); virtual void GetDrillDownData(const ::std::vector<ScDPCacheTable::Criterion>& rCriteria, - const ::std::hash_set<sal_Int32>& rCatDims, + const ::boost::unordered_set<sal_Int32>& rCatDims, ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > >& rData); virtual void CalcResults(CalcInfo& rInfo, bool bAutoShow); virtual const ScDPCacheTable& GetCacheTable() const; |