diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:07:31 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:10:35 +0200 |
commit | 64b993e046f23baaacaff1572b7d2a816588b5ef (patch) | |
tree | 237dce36a1d4787d168a0520839f6aab22500487 /chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx | |
parent | 75f41baab6ce75786a91fe461835ee16a23ec18e (diff) |
finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
Diffstat (limited to 'chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx index fb8b8fd59a04..6cfa45dc978d 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx @@ -58,7 +58,7 @@ LightButton::LightButton( Window* pParent, const ResId& rResId, sal_Int32 nLight if( nIndex != -1 ) { aTipHelp = aTipHelp.replaceAt(nIndex, aReplacementStr.getLength(), - OUString::valueOf( nLightNumber ) ); + OUString::number( nLightNumber ) ); } this->SetQuickHelpText( String( aTipHelp ) ); } @@ -143,13 +143,13 @@ namespace OUString lcl_makeColorName( Color rColor ) { OUString aStr = SVX_RESSTR(RID_SVXFLOAT3D_FIX_R) + - OUString::valueOf((sal_Int32)rColor.GetRed()) + + OUString::number(rColor.GetRed()) + " " + SVX_RESSTR(RID_SVXFLOAT3D_FIX_G) + - OUString::valueOf((sal_Int32)rColor.GetGreen()) + + OUString::number(rColor.GetGreen()) + " " + SVX_RESSTR(RID_SVXFLOAT3D_FIX_B) + - OUString::valueOf((sal_Int32)rColor.GetBlue()); + OUString::number(rColor.GetBlue()); return aStr; } void lcl_selectColor( ColorListBox& rListBox, const Color& rColor ) @@ -173,7 +173,7 @@ namespace OUString aColorPropertyPrefix("D3DSceneLightColor"); OUString aDirectionPropertyPrefix("D3DSceneLightDirection"); OUString aEnabledPropertyPrefix("D3DSceneLightOn"); - OUString aIndex( OUString::valueOf( nIndex + 1 )); + OUString aIndex( OUString::number( nIndex + 1 )); try { @@ -201,7 +201,7 @@ namespace OUString aColorPropertyPrefix("D3DSceneLightColor"); OUString aDirectionPropertyPrefix("D3DSceneLightDirection"); OUString aEnabledPropertyPrefix("D3DSceneLightOn"); - OUString aIndex( OUString::valueOf( nIndex + 1 )); + OUString aIndex( OUString::number( nIndex + 1 )); try { |