From 64b993e046f23baaacaff1572b7d2a816588b5ef Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Wed, 21 Aug 2013 15:07:31 +0200 Subject: 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 --- pyuno/source/module/pyuno_runtime.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyuno') diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index a7bb1f28dc35..0446d7b26d7b 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -217,7 +217,7 @@ static void readLoggingConfig( sal_Int32 *pLevel, FILE **ppFile ) osl_getSystemPathFromFileURL( str.pData, &str.pData); OString o = OUStringToOString( str, osl_getThreadTextEncoding() ); o += "."; - o += OString::valueOf( (sal_Int32)data.Ident ); + o += OString::number( data.Ident ); *ppFile = fopen( o.getStr() , "w" ); if ( *ppFile ) -- cgit