sc/source/core/data/dpcache.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 0edc04d2d659456f5c22406a79901d54c530a979 Author: Michael Meeks <michael.me...@suse.com> Date: Tue Sep 18 10:17:48 2012 +0100 WaE: calm android tinderboxen Change-Id: Iaeb809770acec4b3c38e42038fe2820b2da2051d diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx index 5a5ec57..89b409b 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits