summaryrefslogtreecommitdiff
path: root/svtools/source/uno
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 /svtools/source/uno
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 'svtools/source/uno')
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index 7130ffc9d6f8..3c52e8232578 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -1147,7 +1147,7 @@ OUString TreeControlPeer::getEntryString( const Any& rValue )
{
sal_Int32 nValue = 0;
if( rValue >>= nValue )
- sValue = OUString::valueOf( nValue );
+ sValue = OUString::number( nValue );
break;
}
case TypeClass_BYTE:
@@ -1156,21 +1156,21 @@ OUString TreeControlPeer::getEntryString( const Any& rValue )
{
sal_uInt32 nValue = 0;
if( rValue >>= nValue )
- sValue = OUString::valueOf( (sal_Int64)nValue );
+ sValue = OUString::number( nValue );
break;
}
case TypeClass_HYPER:
{
sal_Int64 nValue = 0;
if( rValue >>= nValue )
- sValue = OUString::valueOf( nValue );
+ sValue = OUString::number( nValue );
break;
}
case TypeClass_UNSIGNED_HYPER:
{
sal_uInt64 nValue = 0;
if( rValue >>= nValue )
- sValue = OUString::valueOf( (sal_Int64)nValue );
+ sValue = OUString::number( nValue );
break;
}
case TypeClass_FLOAT:
@@ -1178,7 +1178,7 @@ OUString TreeControlPeer::getEntryString( const Any& rValue )
{
double fValue = 0.0;
if( rValue >>= fValue )
- sValue = OUString::valueOf( fValue );
+ sValue = OUString::number( fValue );
break;
}
case TypeClass_STRING: