diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-29 21:08:23 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-10-07 15:57:37 +0200 |
commit | f087747a58458bbfc08401281aa868c05281224a (patch) | |
tree | 9504eda297915125cd9a220872c81b3a4a0529d2 /sd/source | |
parent | e45b962f49829d5c60c913383b2132b579af3fab (diff) |
cppcheck reduce scope of var in sd/ pptin.cxx
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/ppt/pptin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 2620f2026c36..5c805bfd6e75 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -305,7 +305,7 @@ sal_Bool ImplSdPPTImport::Import() if ( nSlideCount && pSection->GetProperty( PID_HEADINGPAIR, aPropItem ) ) { sal_uInt32 nSlideTitleIndex = 0, nSlideTitleCount = 0; - sal_uInt32 i, nTemp, nEntryCount = 0; + sal_uInt32 i, nTemp; String aUString; @@ -315,7 +315,7 @@ sal_Bool ImplSdPPTImport::Import() if ( ( nType == ( VT_VARIANT | VT_VECTOR ) ) && ( nVecCount ^ 1 ) ) { nVecCount >>= 1; - + sal_uInt32 nEntryCount = 0; for ( i = 0; i < nVecCount; i++ ) { if ( !aPropItem.Read( aUString, VT_EMPTY, sal_False ) ) |