summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-29 20:35:16 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-10-07 15:57:34 +0200
commit1353a64402cf9b9aea4f3ca39fa5b9c121576226 (patch)
tree21d6569b12a88a19b62be95593d5fafb46153f05 /svl
parentc36fbb450d340e20e4c17a057de93c87c53a15ad (diff)
cppcheck scope reduction in svl/..zforlist.cxx
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforlist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 5169baac2a51..aaa506453a56 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -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" );