From 5ce76a9b8c0d1f09034096c84926fe171b0a58f1 Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Tue, 28 Sep 2010 22:08:13 +0200 Subject: fix build failure (must be pos1--, not i--) --- slideshow/source/engine/transitions/randomwipe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slideshow') 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 ] ); -- cgit v1.2.3