Kaydet (Commit) 448d3334 authored tarafından Matteo Casalin's avatar Matteo Casalin

Avoid conversion warnings

Change-Id: Ia618b71047f27a0400b8a9eb2c14e319c66e05dc
üst 21dc114a
...@@ -908,8 +908,8 @@ void PatternBox::ReformatAll() ...@@ -908,8 +908,8 @@ void PatternBox::ReformatAll()
{ {
OUString aStr; OUString aStr;
SetUpdateMode( false ); SetUpdateMode( false );
sal_uInt16 nEntryCount = GetEntryCount(); const sal_Int32 nEntryCount = GetEntryCount();
for ( sal_uInt16 i=0; i < nEntryCount; i++ ) for ( sal_Int32 i=0; i < nEntryCount; ++i )
{ {
aStr = ImplPatternReformat( GetEntry( i ), GetEditMask(), GetLiteralMask(), GetFormatFlags() ); aStr = ImplPatternReformat( GetEntry( i ), GetEditMask(), GetLiteralMask(), GetFormatFlags() );
RemoveEntryAt(i); RemoveEntryAt(i);
...@@ -1878,8 +1878,8 @@ void DateBox::ReformatAll() ...@@ -1878,8 +1878,8 @@ void DateBox::ReformatAll()
{ {
OUString aStr; OUString aStr;
SetUpdateMode( false ); SetUpdateMode( false );
sal_uInt16 nEntryCount = GetEntryCount(); const sal_Int32 nEntryCount = GetEntryCount();
for ( sal_uInt16 i=0; i < nEntryCount; i++ ) for ( sal_Int32 i=0; i < nEntryCount; ++i )
{ {
ImplDateReformat( GetEntry( i ), aStr, GetFieldSettings() ); ImplDateReformat( GetEntry( i ), aStr, GetFieldSettings() );
RemoveEntryAt(i); RemoveEntryAt(i);
...@@ -2684,8 +2684,8 @@ void TimeBox::ReformatAll() ...@@ -2684,8 +2684,8 @@ void TimeBox::ReformatAll()
{ {
OUString aStr; OUString aStr;
SetUpdateMode( false ); SetUpdateMode( false );
sal_uInt16 nEntryCount = GetEntryCount(); const sal_Int32 nEntryCount = GetEntryCount();
for ( sal_uInt16 i=0; i < nEntryCount; i++ ) for ( sal_Int32 i=0; i < nEntryCount; ++i )
{ {
ImplTimeReformat( GetEntry( i ), aStr ); ImplTimeReformat( GetEntry( i ), aStr );
RemoveEntryAt(i); RemoveEntryAt(i);
......
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