diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:07:31 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:10:35 +0200 |
commit | 64b993e046f23baaacaff1572b7d2a816588b5ef (patch) | |
tree | 237dce36a1d4787d168a0520839f6aab22500487 /io/source/connector | |
parent | warn when rewriter should modify something involving a macro (diff) | |
download | core-64b993e046f23baaacaff1572b7d2a816588b5ef.tar.gz core-64b993e046f23baaacaff1572b7d2a816588b5ef.zip |
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 'io/source/connector')
-rw-r--r-- | io/source/connector/connector.cxx | 2 | ||||
-rw-r--r-- | io/source/connector/ctr_pipe.cxx | 2 | ||||
-rw-r--r-- | io/source/connector/ctr_socket.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index 5356f3932b3d..22bee639e9fd 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -100,7 +100,7 @@ namespace stoc_connector OUString sMessage("Connector : couldn't connect to pipe "); sMessage += aName; sMessage += "("; - sMessage += OUString::valueOf( (sal_Int32 ) pConn->m_pipe.getError() ); + sMessage += OUString::number( pConn->m_pipe.getError() ); sMessage += ")"; delete pConn; throw NoConnectException( sMessage ,Reference< XInterface > () ); diff --git a/io/source/connector/ctr_pipe.cxx b/io/source/connector/ctr_pipe.cxx index b4f5c7f9eb44..5533bcf79e52 100644 --- a/io/source/connector/ctr_pipe.cxx +++ b/io/source/connector/ctr_pipe.cxx @@ -35,7 +35,7 @@ namespace stoc_connector { { // make it unique m_sDescription += ",uniqueValue="; - m_sDescription += OUString::valueOf( + m_sDescription += OUString::number( sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >(&m_pipe)), 10 ); diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx index 745644790adf..e27d9af76cf5 100644 --- a/io/source/connector/ctr_socket.cxx +++ b/io/source/connector/ctr_socket.cxx @@ -86,7 +86,7 @@ namespace stoc_connector { { // make it unique m_sDescription += ",uniqueValue="; - m_sDescription += OUString::valueOf( + m_sDescription += OUString::number( sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >(&m_socket)), 10 ); |