diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-09-18 10:17:48 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-09-18 10:18:00 +0100 |
commit | 0edc04d2d659456f5c22406a79901d54c530a979 (patch) | |
tree | 4367e834496c8655882c509a9d785cd4699e9c1a | |
parent | 4aed4eb1ca76ed5fe52160a1b5cba70df816729d (diff) |
WaE: calm android tinderboxen
Change-Id: Iaeb809770acec4b3c38e42038fe2820b2da2051d
-rw-r--r-- | sc/source/core/data/dpcache.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx index 5a5ec57e2fbf..89b409b4cef4 100644 --- a/sc/source/core/data/dpcache.cxx +++ b/sc/source/core/data/dpcache.cxx @@ -659,11 +659,11 @@ void ScDPCache::PostInit() maEmptyRows.build_tree(); typedef mdds::flat_segment_tree<SCROW, bool>::const_reverse_iterator itr_type; - itr_type it = maEmptyRows.rbegin(), itEnd = maEmptyRows.rend(); - OSL_ENSURE(it != itEnd, "corrupt flat_segment_tree instance!"); + itr_type it = maEmptyRows.rbegin(); + OSL_ENSURE(it != maEmptyRows.rend(), "corrupt flat_segment_tree instance!"); mnDataSize = maFields[0].maData.size(); ++it; // Skip the first position. - OSL_ENSURE(it != itEnd, "buggy version of flat_segment_tree is used."); + OSL_ENSURE(it != maEmptyRows.rend(), "buggy version of flat_segment_tree is used."); if (it->second) { SCROW nLastNonEmpty = it->first - 1; |