tools/source/memtools/multisel.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 93363ff6ba8198e83417eb805b9342e8711b8c09 Author: Michael Meeks <michael.me...@suse.com> Date: Thu Feb 21 17:20:00 2013 +0000 fix snafu that crept in with 5da5cd60acb7a18878300da7f4b0acb0dbad1888 Change-Id: I391a415e0f4bf3813637191ef04c0b5f72a2c470 diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx index 429c608..b079e17 100644 --- a/tools/source/memtools/multisel.cxx +++ b/tools/source/memtools/multisel.cxx @@ -597,9 +597,8 @@ void MultiSelection::SetTotalRange( const Range& rTotRange ) // re-calculate selection count nSelCount = 0; - for ( size_t i = 0, n = aSels.size(); i < n; ++ i ) { - nSelCount += pRange->Len(); - } + for ( size_t i = 0, n = aSels.size(); i < n; ++ i ) + nSelCount += aSels[i]->Len(); bCurValid = sal_False; nCurIndex = 0; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits