summaryrefslogtreecommitdiff
path: root/oox/source/ppt
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 /oox/source/ppt
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 'oox/source/ppt')
-rw-r--r--oox/source/ppt/commontimenodecontext.cxx2
-rw-r--r--oox/source/ppt/timenode.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ppt/commontimenodecontext.cxx b/oox/source/ppt/commontimenodecontext.cxx
index ddc4c14aeb3a..c551a74250a7 100644
--- a/oox/source/ppt/commontimenodecontext.cxx
+++ b/oox/source/ppt/commontimenodecontext.cxx
@@ -358,7 +358,7 @@ static OUString getConvertedSubType( sal_Int16 nPresetClass, sal_Int32 nPresetId
if( pStr )
return OUString::createFromAscii( pStr );
else
- return OUString::valueOf( nPresetSubType );
+ return OUString::number( nPresetSubType );
}
// END
diff --git a/oox/source/ppt/timenode.cxx b/oox/source/ppt/timenode.cxx
index 309d3bf0b2fa..ea483c1137f3 100644
--- a/oox/source/ppt/timenode.cxx
+++ b/oox/source/ppt/timenode.cxx
@@ -595,7 +595,7 @@ namespace oox { namespace ppt {
void TimeNode::setId( sal_Int32 nId )
{
- msId = OUString::valueOf(nId);
+ msId = OUString::number(nId);
}
void TimeNode::setTo( const Any & aTo )