diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index 12c267b028a9..fd4cd155f612 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx @@ -1014,8 +1014,8 @@ void SvxNumberFormatTabPage::UpdateOptions_Impl( sal_Bool bCheckCatChange /*= sa aEdLeadZeroes.Enable(); aBtnNegRed.Enable(); aBtnThousand.Enable(); - aEdDecimals .SetText( OUString::valueOf( nDecimals ) ); - aEdLeadZeroes.SetText( OUString::valueOf( nZeroes ) ); + aEdDecimals .SetText( OUString::valueOf( static_cast(nDecimals) ) ); + aEdLeadZeroes.SetText( OUString::valueOf( static_cast(nZeroes) ) ); aBtnNegRed .Check( bNegRed ); aBtnThousand .Check( bThousand ); break; diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 05efd9579abd..e1f3f8235b41 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -1280,11 +1280,11 @@ void SvxNumOptionsTabPage::Reset( const SfxItemSet& rSet ) if(!aLevelLB.GetEntryCount()) { for(sal_uInt16 i = 1; i <= pSaveNum->GetLevelCount(); i++) - aLevelLB.InsertEntry( OUString::valueOf(i)); + aLevelLB.InsertEntry( OUString::valueOf(static_cast(i))); if(pSaveNum->GetLevelCount() > 1) { OUString sEntry( "1 - " ); - sEntry += OUString::valueOf( pSaveNum->GetLevelCount() ); + sEntry += OUString::valueOf( static_cast(pSaveNum->GetLevelCount()) ); aLevelLB.InsertEntry(sEntry); aLevelLB.SelectEntry(sEntry); } @@ -3044,11 +3044,11 @@ void SvxNumPositionTabPage::Reset( const SfxItemSet& rSet ) if(!aLevelLB.GetEntryCount()) { for(sal_uInt16 i = 1; i <= pSaveNum->GetLevelCount(); i++) - aLevelLB.InsertEntry( OUString::valueOf(i) ); + aLevelLB.InsertEntry( OUString::valueOf(static_cast(i)) ); if(pSaveNum->GetLevelCount() > 1) { OUString sEntry( "1 - " ); - sEntry += OUString::valueOf( pSaveNum->GetLevelCount() ); + sEntry += OUString::valueOf( static_cast(pSaveNum->GetLevelCount()) ); aLevelLB.InsertEntry(sEntry); aLevelLB.SelectEntry(sEntry); }