From d2f35280c987837671322c977138fcc2402287c0 Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Thu, 14 Oct 2010 14:03:13 +0200 Subject: impress195: #i80637# Changed the algorithm for mixing of elements. --- slideshow/source/engine/transitions/randomwipe.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/transitions/randomwipe.cxx b/slideshow/source/engine/transitions/randomwipe.cxx index 22c51e38852e..d8ac4a3da687 100644 --- a/slideshow/source/engine/transitions/randomwipe.cxx +++ b/slideshow/source/engine/transitions/randomwipe.cxx @@ -68,13 +68,11 @@ RandomWipe::RandomWipe( sal_Int32 nElements, bool randomBars ) m_rect.transform( aTransform ); // mix up: - for ( sal_Int32 i = (nElements / 2); i--; ) + for (sal_Int32 nIndex=0; nIndex=0 && nOtherIndex