summaryrefslogtreecommitdiff
path: root/vcl/source/control/longcurr.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-08-02 10:49:47 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-08-16 09:10:14 +0200
commitaa1918efe9afac79b5a715a7a31239d320a75edc (patch)
treed24339930110928b663f70affe7a7980b23ab1fc /vcl/source/control/longcurr.cxx
parent9869ab096f49a507f96d69a4ffbb9a0caa852bd7 (diff)
Fix some conversion warnings, reduce scope
Change-Id: I9f36b29e329dde3b841f963d9dde3480e80da3f5
Diffstat (limited to 'vcl/source/control/longcurr.cxx')
-rw-r--r--vcl/source/control/longcurr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/longcurr.cxx b/vcl/source/control/longcurr.cxx
index 77724b0b02d3..ae9178b98fe5 100644
--- a/vcl/source/control/longcurr.cxx
+++ b/vcl/source/control/longcurr.cxx
@@ -579,8 +579,8 @@ void LongCurrencyBox::ReformatAll()
{
OUString aStr;
SetUpdateMode( false );
- sal_uInt16 nEntryCount = GetEntryCount();
- for ( sal_uInt16 i=0; i < nEntryCount; i++ )
+ const sal_Int32 nEntryCount = GetEntryCount();
+ for ( sal_Int32 i=0; i < nEntryCount; ++i )
{
ImplLongCurrencyReformat( GetEntry( i ), mnMin, mnMax,
GetDecimalDigits(), GetLocaleDataWrapper(),