Kaydet (Commit) 537b3424 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

cppcheck: variable scope

üst e1dea8cd
...@@ -166,7 +166,6 @@ void LotusToSc::DoFunc( DefTokenId eOc, BYTE nAnz, const sal_Char* pExtString ) ...@@ -166,7 +166,6 @@ void LotusToSc::DoFunc( DefTokenId eOc, BYTE nAnz, const sal_Char* pExtString )
if( nAnz > 0 ) if( nAnz > 0 )
{ {
INT16 nNull = -1; // gibt einen auszulassenden Parameter an
// ACHTUNG: 0 ist der letzte Parameter, nAnz-1 der erste // ACHTUNG: 0 ist der letzte Parameter, nAnz-1 der erste
INT16 nLast = nAnz - 1; INT16 nLast = nAnz - 1;
...@@ -184,6 +183,7 @@ void LotusToSc::DoFunc( DefTokenId eOc, BYTE nAnz, const sal_Char* pExtString ) ...@@ -184,6 +183,7 @@ void LotusToSc::DoFunc( DefTokenId eOc, BYTE nAnz, const sal_Char* pExtString )
// [Parameter{;Parameter}] // [Parameter{;Parameter}]
aPool << eParam[ nLast ]; aPool << eParam[ nLast ];
INT16 nNull = -1; // gibt einen auszulassenden Parameter an
for( nLauf = nLast - 1 ; nLauf >= 0 ; nLauf-- ) for( nLauf = nLast - 1 ; nLauf >= 0 ; nLauf-- )
{ {
if( nLauf != nNull ) if( nLauf != nNull )
......
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