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 | |
parent | 75f41baab6ce75786a91fe461835ee16a23ec18e (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 'io/source')
-rw-r--r-- | io/source/acceptor/acc_pipe.cxx | 2 | ||||
-rw-r--r-- | io/source/acceptor/acc_socket.cxx | 2 | ||||
-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 |
5 files changed, 5 insertions, 5 deletions
diff --git a/io/source/acceptor/acc_pipe.cxx b/io/source/acceptor/acc_pipe.cxx index 6c0a8cabadcc..8f713e713185 100644 --- a/io/source/acceptor/acc_pipe.cxx +++ b/io/source/acceptor/acc_pipe.cxx @@ -72,7 +72,7 @@ namespace io_acceptor { // 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/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx index 1eda5fc1234b..6a10eb4fd5cf 100644 --- a/io/source/acceptor/acc_socket.cxx +++ b/io/source/acceptor/acc_socket.cxx @@ -164,7 +164,7 @@ namespace io_acceptor { { // 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 ); 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 ); |