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 --- desktop/source/app/app.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/source/app') diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index d75b35238b49..47024cb8b91c 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1566,7 +1566,7 @@ int Desktop::Main() osl::File::remove( pidfileURL ); if ( (rc = pidfile.open( osl_File_OpenFlag_Write | osl_File_OpenFlag_Create ) ) == osl::File::E_None ) { - OString pid( OString::valueOf( static_cast( GETPID() ) ) ); + OString pid( OString::number( GETPID() ) ); sal_uInt64 written = 0; if ( pidfile.write(pid.getStr(), pid.getLength(), written) != osl::File::E_None ) { -- cgit