summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-09-18 10:17:48 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-09-18 10:18:00 +0100
commit0edc04d2d659456f5c22406a79901d54c530a979 (patch)
tree4367e834496c8655882c509a9d785cd4699e9c1a
parent4aed4eb1ca76ed5fe52160a1b5cba70df816729d (diff)
WaE: calm android tinderboxen
Change-Id: Iaeb809770acec4b3c38e42038fe2820b2da2051d
-rw-r--r--sc/source/core/data/dpcache.cxx6
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;