summaryrefslogtreecommitdiff
path: root/cppu
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 /cppu
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 'cppu')
-rw-r--r--cppu/source/uno/lbenv.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index 79cec37a3637..1390e56536eb 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -951,7 +951,7 @@ inline void EnvironmentsData::getEnvironment(
}
OUString aKey(
- OUString::valueOf( reinterpret_cast< sal_IntPtr >(pContext) ) );
+ OUString::number( reinterpret_cast< sal_IntPtr >(pContext) ) );
aKey += rEnvDcp;
// try to find registered mapping
@@ -971,7 +971,7 @@ inline void EnvironmentsData::registerEnvironment( uno_Environment ** ppEnv )
uno_Environment * pEnv = *ppEnv;
OUString aKey(
- OUString::valueOf( reinterpret_cast< sal_IntPtr >(pEnv->pContext) ) );
+ OUString::number( reinterpret_cast< sal_IntPtr >(pEnv->pContext) ) );
aKey += pEnv->pTypeName;
// try to find registered environment