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

cppcheck scope reduction in svl/..zforlist.cxx

üst c36fbb45
...@@ -3256,7 +3256,6 @@ sal_uInt32 SvNumberFormatter::ImpGetDefaultCurrencyFormat() ...@@ -3256,7 +3256,6 @@ sal_uInt32 SvNumberFormatter::ImpGetDefaultCurrencyFormat()
if ( nDefaultCurrencyFormat == NUMBERFORMAT_ENTRY_NOT_FOUND ) if ( nDefaultCurrencyFormat == NUMBERFORMAT_ENTRY_NOT_FOUND )
{ // none found, create one { // none found, create one
xub_StrLen nCheck; xub_StrLen nCheck;
short nType;
NfWSStringsDtor aCurrList; NfWSStringsDtor aCurrList;
sal_uInt16 nDefault = GetCurrencyFormatStrings( aCurrList, sal_uInt16 nDefault = GetCurrencyFormatStrings( aCurrList,
GetCurrencyEntry( ActLnge ), false ); GetCurrencyEntry( ActLnge ), false );
...@@ -3265,6 +3264,7 @@ sal_uInt32 SvNumberFormatter::ImpGetDefaultCurrencyFormat() ...@@ -3265,6 +3264,7 @@ sal_uInt32 SvNumberFormatter::ImpGetDefaultCurrencyFormat()
{ {
// if already loaded or user defined nDefaultSystemCurrencyFormat // if already loaded or user defined nDefaultSystemCurrencyFormat
// will be set to the right value // will be set to the right value
short nType;
PutEntry( *aCurrList.GetObject( nDefault ), nCheck, nType, PutEntry( *aCurrList.GetObject( nDefault ), nCheck, nType,
nDefaultCurrencyFormat, ActLnge ); nDefaultCurrencyFormat, ActLnge );
DBG_ASSERT( nCheck == 0, "NewCurrency CheckError" ); DBG_ASSERT( nCheck == 0, "NewCurrency CheckError" );
......
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