[Libreoffice-commits] .: svx/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Jan 3 05:20:39 PST 2011


 svx/source/gallery2/galtheme.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit d142be6bda3764f559effb3fd79a2b456841118b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jan 3 13:20:25 2011 +0000

    WaE: fix shadow warning post DECLARE_LIST removal

diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index 7413ef6..9440208 100644
--- a/svx/source/gallery2/galtheme.cxx
+++ b/svx/source/gallery2/galtheme.cxx
@@ -559,16 +559,15 @@ void GalleryTheme::Actualize( const Link& rActualizeLink, GalleryProgress* pProg
         String			aFormat;
         GalleryObject*	pEntry;
         const size_t    nCount = aObjectList.size();
-        size_t          i;
 
         LockBroadcaster();
         bAbortActualize = FALSE;
 
         // LoeschFlag zuruecksetzen
-        for ( i = 0; i < nCount; i++ )
+        for (size_t i = 0; i < nCount; i++)
             aObjectList[ i ]->bDummy = FALSE;
 
-        for( i = 0; ( i < nCount ) && !bAbortActualize; i++ )
+        for(size_t i = 0; ( i < nCount ) && !bAbortActualize; i++)
         {
             if( pProgress )
                 pProgress->Update( i, nCount - 1 );


More information about the Libreoffice-commits mailing list