summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2010-09-28 22:08:13 +0200
committerRene Engelhard <rene@debian.org>2010-09-28 22:08:13 +0200
commit5ce76a9b8c0d1f09034096c84926fe171b0a58f1 (patch)
treec87286eb55aa61bfd90a54322e0c054d8917f1d1 /slideshow
parentbb58dbf969a4bfc3bf7dae8577e05bf7756bd99e (diff)
fix build failure (must be pos1--, not i--)
Diffstat (limited to 'slideshow')
-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 ] );