summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slideshow/source/engine/transitions/randomwipe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/transitions/randomwipe.cxx b/slideshow/source/engine/transitions/randomwipe.cxx
index dbd9680f3960..ac709ecb5ed5 100644
--- a/slideshow/source/engine/transitions/randomwipe.cxx
+++ b/slideshow/source/engine/transitions/randomwipe.cxx
@@ -68,7 +68,7 @@ RandomWipe::RandomWipe( sal_Int32 nElements, bool randomBars )
m_rect.transform( aTransform );
// mix up:
- for ( sal_Int32 pos1 = nElements ; i-- ; )
+ for ( sal_Int32 pos1 = nElements ; pos1-- ; )
{
const sal_Int32 pos2 = getRandomOrdinal(pos1+1);
const ::basegfx::B2DPoint point( m_positions[ pos1 ] );