summaryrefslogtreecommitdiff
path: root/io/source/connector/ctr_socket.cxx
diff options
context:
space:
mode:
authorJosé Guilherme Vanz <guilherme.sft@gmail.com>2012-11-30 22:53:43 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-12-01 14:40:25 +0000
commit8967f80a50cd59199cf77d3b2eccdc57095d8c02 (patch)
treebda005193cd48b0e2c6e3b0d58eedef5d18135df /io/source/connector/ctr_socket.cxx
parentdd4edd93696140b7fae61268511886845d777645 (diff)
Removal ::rtl:: prefixes and macros in IO
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM, RTL_CONSTASCII_USTRINGPARAM macros in IO. Change-Id: I9446ddf13ba18d2d80639afc9e1b61234945b115 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1200 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'io/source/connector/ctr_socket.cxx')
-rw-r--r--io/source/connector/ctr_socket.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx
index f6103933a72a..7c9a9d4ad4dc 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
g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt );
- m_sDescription += OUString( RTL_CONSTASCII_USTRINGPARAM( ",uniqueValue=" ) );
+ m_sDescription += ",uniqueValue=";
m_sDescription += OUString::valueOf(
sal::static_int_cast< sal_Int64 >(
reinterpret_cast< sal_IntPtr >(&m_socket)),
@@ -134,7 +134,7 @@ namespace stoc_connector {
if(i != nBytesToRead && m_socket.getError() != osl_Socket_E_None)
{
- OUString message(RTL_CONSTASCII_USTRINGPARAM("ctr_socket.cxx:SocketConnection::read: error - "));
+ OUString message("ctr_socket.cxx:SocketConnection::read: error - ");
message += m_socket.getErrorAsString();
IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this)));
@@ -151,7 +151,7 @@ namespace stoc_connector {
}
else
{
- OUString message(RTL_CONSTASCII_USTRINGPARAM("ctr_socket.cxx:SocketConnection::read: error - connection already closed"));
+ OUString message("ctr_socket.cxx:SocketConnection::read: error - connection already closed");
IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this)));
@@ -172,7 +172,7 @@ namespace stoc_connector {
{
if( m_socket.write( seq.getConstArray() , seq.getLength() ) != seq.getLength() )
{
- OUString message(RTL_CONSTASCII_USTRINGPARAM("ctr_socket.cxx:SocketConnection::write: error - "));
+ OUString message("ctr_socket.cxx:SocketConnection::write: error - ");
message += m_socket.getErrorAsString();
IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this)));
@@ -187,7 +187,7 @@ namespace stoc_connector {
}
else
{
- OUString message(RTL_CONSTASCII_USTRINGPARAM("ctr_socket.cxx:SocketConnection::write: error - connection already closed"));
+ OUString message("ctr_socket.cxx:SocketConnection::write: error - connection already closed");
IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this)));