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