diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-02 09:49:53 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-16 09:10:13 +0200 |
commit | 448d3334d1daaa2da616b2fadc2241f24dd96f86 (patch) | |
tree | 13a0bafe212ae129ff94a713fb7d68b5039f5e0e /vcl/source | |
parent | 21dc114a11138df497f05876979b82594c4ed1cd (diff) |
Avoid conversion warnings
Change-Id: Ia618b71047f27a0400b8a9eb2c14e319c66e05dc
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/field2.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx index dbda25e86123..f47d6c48db8f 100644 --- a/vcl/source/control/field2.cxx +++ b/vcl/source/control/field2.cxx @@ -908,8 +908,8 @@ void PatternBox::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 ) { aStr = ImplPatternReformat( GetEntry( i ), GetEditMask(), GetLiteralMask(), GetFormatFlags() ); RemoveEntryAt(i); @@ -1878,8 +1878,8 @@ void DateBox::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 ) { ImplDateReformat( GetEntry( i ), aStr, GetFieldSettings() ); RemoveEntryAt(i); @@ -2684,8 +2684,8 @@ void TimeBox::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 ) { ImplTimeReformat( GetEntry( i ), aStr ); RemoveEntryAt(i); |