Kaydet (Commit) f087747a authored tarafından Pierre-André Jacquod's avatar Pierre-André Jacquod

cppcheck reduce scope of var in sd/ pptin.cxx

üst e45b962f
......@@ -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 ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment