diff options
author | Rene Engelhard <rene@debian.org> | 2010-09-28 22:08:13 +0200 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2010-09-28 22:08:13 +0200 |
commit | 5ce76a9b8c0d1f09034096c84926fe171b0a58f1 (patch) | |
tree | c87286eb55aa61bfd90a54322e0c054d8917f1d1 | |
parent | Improve randomisation in 'dissolve' transition. (diff) | |
download | core-5ce76a9b8c0d1f09034096c84926fe171b0a58f1.tar.gz core-5ce76a9b8c0d1f09034096c84926fe171b0a58f1.zip |
fix build failure (must be pos1--, not i--)
-rw-r--r-- | slideshow/source/engine/transitions/randomwipe.cxx | 2 |
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 ] ); |