diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/dpgroup.hxx | 5 | ||||
-rw-r--r-- | sc/source/core/data/dpcache.cxx | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx index 4c294b66aa5e..2e0517d993d6 100644 --- a/sc/inc/dpgroup.hxx +++ b/sc/inc/dpgroup.hxx @@ -119,15 +119,14 @@ public: class ScDPGroupTableData : public ScDPTableData { - typedef std::unordered_set< OUString > StringHashSet; - std::shared_ptr<ScDPTableData> pSourceData; long nSourceCount; ScDPGroupDimensionVec aGroups; std::unique_ptr<ScDPNumGroupDimension[]> pNumGroups; // array[nSourceCount] ScDocument* pDoc; - StringHashSet aGroupNames; + std::unordered_set< OUString > + aGroupNames; void FillGroupValues(std::vector<SCROW>& rItems, const std::vector<long>& rDims); virtual long GetSourceDim( long nDim ) override; diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx index aec55f8c2ef8..ca4672f4ca61 100644 --- a/sc/source/core/data/dpcache.cxx +++ b/sc/source/core/data/dpcache.cxx @@ -934,8 +934,7 @@ void ScDPCache::PostInit() OSL_ENSURE(!maFields.empty(), "Cache not initialized!"); maEmptyRows.build_tree(); - typedef mdds::flat_segment_tree<SCROW, bool>::const_reverse_iterator itr_type; - itr_type it = maEmptyRows.rbegin(); + auto it = maEmptyRows.rbegin(); OSL_ENSURE(it != maEmptyRows.rend(), "corrupt flat_segment_tree instance!"); mnDataSize = maFields[0]->maData.size(); ++it; // Skip the first position. |