summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-29 21:08:23 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-10-07 15:57:37 +0200
commitf087747a58458bbfc08401281aa868c05281224a (patch)
tree9504eda297915125cd9a220872c81b3a4a0529d2 /sd
parentcppcheck scope reduction in vcl/..salatsuifontutils.cxx (diff)
downloadcore-f087747a58458bbfc08401281aa868c05281224a.tar.gz
core-f087747a58458bbfc08401281aa868c05281224a.zip
cppcheck reduce scope of var in sd/ pptin.cxx
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/ppt/pptin.cxx4
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 ) )