summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-03 13:20:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-03 13:20:25 +0000
commit15d8acd26cdfb37c362532b078defb6a823f707d (patch)
tree1e435201230ed779595533652839bfb3310293a2
parente615421ca1f1a9ae1e911b6a8d59b50712abaf87 (diff)
WaE: fix shadow warning post DECLARE_LIST removal
-rw-r--r--svx/source/gallery2/galtheme.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index 6f6846d3008e..0ea06ceae6d1 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 );