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/source/core/data/dpcachetable.cxx | |
parent | 82d08610465649dd1a49f8b7f6d4e7cf80f15c16 (diff) |
port repository calc to boost unordered containers
Diffstat (limited to 'sc/source/core/data/dpcachetable.cxx')
-rw-r--r-- | sc/source/core/data/dpcachetable.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/core/data/dpcachetable.cxx b/sc/source/core/data/dpcachetable.cxx index 278696a2b13e..79df2db91b63 100644 --- a/sc/source/core/data/dpcachetable.cxx +++ b/sc/source/core/data/dpcachetable.cxx @@ -54,8 +54,6 @@ using namespace ::com::sun::star; using ::rtl::OUString; using ::std::vector; using ::std::pair; -using ::std::hash_map; -using ::std::hash_set; using ::std::auto_ptr; using ::com::sun::star::i18n::LocaleDataItem; using ::com::sun::star::uno::Exception; @@ -299,7 +297,7 @@ bool ScDPCacheTable::isRowActive(sal_Int32 nRow) const return maRowsVisible[nRow]; } -void ScDPCacheTable::filterByPageDimension(const vector<Criterion>& rCriteria, const hash_set<sal_Int32>& rRepeatIfEmptyDims) +void ScDPCacheTable::filterByPageDimension(const vector<Criterion>& rCriteria, const boost::unordered_set<sal_Int32>& rRepeatIfEmptyDims) { sal_Int32 nRowSize = getRowSize(); if (nRowSize != static_cast<sal_Int32>(maRowsVisible.size())) @@ -347,7 +345,7 @@ const ::std::vector<SCROW>& ScDPCacheTable::getFieldEntries( sal_Int32 nColumn } void ScDPCacheTable::filterTable(const vector<Criterion>& rCriteria, Sequence< Sequence<Any> >& rTabData, - const hash_set<sal_Int32>& rRepeatIfEmptyDims) + const boost::unordered_set<sal_Int32>& rRepeatIfEmptyDims) { sal_Int32 nRowSize = getRowSize(); sal_Int32 nColSize = getColSize(); @@ -421,7 +419,7 @@ bool ScDPCacheTable::empty() const } bool ScDPCacheTable::isRowQualified(sal_Int32 nRow, const vector<Criterion>& rCriteria, - const hash_set<sal_Int32>& rRepeatIfEmptyDims) const + const boost::unordered_set<sal_Int32>& rRepeatIfEmptyDims) const { sal_Int32 nColSize = getColSize(); vector<Criterion>::const_iterator itrEnd = rCriteria.end(); |