summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/drawingfragment.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:07:31 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:10:35 +0200
commit64b993e046f23baaacaff1572b7d2a816588b5ef (patch)
tree237dce36a1d4787d168a0520839f6aab22500487 /sc/source/filter/oox/drawingfragment.cxx
parent75f41baab6ce75786a91fe461835ee16a23ec18e (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 'sc/source/filter/oox/drawingfragment.cxx')
-rw-r--r--sc/source/filter/oox/drawingfragment.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/oox/drawingfragment.cxx b/sc/source/filter/oox/drawingfragment.cxx
index 7c864cc63de1..dc879e202855 100644
--- a/sc/source/filter/oox/drawingfragment.cxx
+++ b/sc/source/filter/oox/drawingfragment.cxx
@@ -531,7 +531,7 @@ Reference< XShape > VmlDrawing::createAndInsertClientXShape( const ::oox::vml::S
AxCheckBoxModel& rAxModel = aControl.createModel< AxCheckBoxModel >();
convertControlText( rAxModel.maFontData, rAxModel.mnTextColor, rAxModel.maCaption, pTextBox, pClientData->mnTextHAlign );
convertControlBackground( rAxModel, rShape );
- rAxModel.maValue = OUString::valueOf( pClientData->mnChecked );
+ rAxModel.maValue = OUString::number( pClientData->mnChecked );
rAxModel.mnSpecialEffect = pClientData->mbNo3D ? AX_SPECIALEFFECT_FLAT : AX_SPECIALEFFECT_SUNKEN;
rAxModel.mnVerticalAlign = pClientData->mnTextVAlign;
bool bTriState = (pClientData->mnChecked != ::oox::vml::VML_CLIENTDATA_UNCHECKED) && (pClientData->mnChecked != ::oox::vml::VML_CLIENTDATA_CHECKED);
@@ -544,7 +544,7 @@ Reference< XShape > VmlDrawing::createAndInsertClientXShape( const ::oox::vml::S
AxOptionButtonModel& rAxModel = aControl.createModel< AxOptionButtonModel >();
convertControlText( rAxModel.maFontData, rAxModel.mnTextColor, rAxModel.maCaption, pTextBox, pClientData->mnTextHAlign );
convertControlBackground( rAxModel, rShape );
- rAxModel.maValue = OUString::valueOf( pClientData->mnChecked );
+ rAxModel.maValue = OUString::number( pClientData->mnChecked );
rAxModel.mnSpecialEffect = pClientData->mbNo3D ? AX_SPECIALEFFECT_FLAT : AX_SPECIALEFFECT_SUNKEN;
rAxModel.mnVerticalAlign = pClientData->mnTextVAlign;
}