diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 14:24:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 11:57:57 +0100 |
commit | a5be07d6b627a18f104e2feed063ff9020e8c610 (patch) | |
tree | 389ea7a3c163bcafca743373b94cda4fba937552 /sc/source | |
parent | b0cecbfb03dba67f01d1411a1e8b7402c2ca90ce (diff) |
inline use-once typedefs
Change-Id: I5c3ffc03c26b3428f1f336e6ecba7838a1cf1157
Reviewed-on: https://gerrit.libreoffice.org/46764
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/dpcache.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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. |