[ooo-build-commit] .: slideshow/source

René Engelhard rene at kemper.freedesktop.org
Tue Sep 28 13:08:38 PDT 2010


 slideshow/source/engine/transitions/randomwipe.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 870c137cb77b73939db0a66207ca4d37ed1c1282
Author: Rene Engelhard <rene at debian.org>
Date:   Tue Sep 28 22:08:13 2010 +0200

    fix build failure (must be pos1--, not i--)

diff --git a/slideshow/source/engine/transitions/randomwipe.cxx b/slideshow/source/engine/transitions/randomwipe.cxx
index 0d5a0d6..8ef1788 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 ] );


More information about the ooo-build-commit mailing list