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()
{
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);
......
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