summaryrefslogtreecommitdiff
path: root/io/source/acceptor/acc_socket.cxx
diff options
context:
space:
mode:
authorJosé Guilherme Vanz <guilherme.sft@gmail.com>2012-11-29 01:37:54 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-11-29 10:21:05 +0000
commitfead8bc949a3c61b29f353486feed3a882758c02 (patch)
treeb01632dcbfcd70b55057ea87216c47c36631d8cd /io/source/acceptor/acc_socket.cxx
parent43bf22bb404c4d5339564229eabd32a5c0c9381a (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: I823fcdfe46d4d4093118f6eaab89c1ce42883a6c Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1194 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'io/source/acceptor/acc_socket.cxx')
-rw-r--r--io/source/acceptor/acc_socket.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx
index 8cfcfb60bd8d..1e5081405b60 100644
--- a/io/source/acceptor/acc_socket.cxx
+++ b/io/source/acceptor/acc_socket.cxx
@@ -85,7 +85,7 @@ namespace io_acceptor {
virtual void SAL_CALL close( )
throw(::com::sun::star::io::IOException,
::com::sun::star::uno::RuntimeException);
- virtual ::rtl::OUString SAL_CALL getDescription( )
+ virtual OUString SAL_CALL getDescription( )
throw(::com::sun::star::uno::RuntimeException);
// XConnectionBroadcaster
@@ -100,7 +100,7 @@ namespace io_acceptor {
::osl::StreamSocket m_socket;
::osl::SocketAddr m_addr;
oslInterlockedCount m_nStatus;
- ::rtl::OUString m_sDescription;
+ OUString m_sDescription;
::osl::Mutex _mutex;
sal_Bool _started;
@@ -164,7 +164,7 @@ namespace io_acceptor {
{
g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt );
// make it unique
- m_sDescription += OUString( RTL_CONSTASCII_USTRINGPARAM( ",uniqueValue=" ) );
+ m_sDescription += OUString( ",uniqueValue=" ) ;
m_sDescription += OUString::valueOf(
sal::static_int_cast< sal_Int64 >(
reinterpret_cast< sal_IntPtr >(&m_socket)),
@@ -210,7 +210,7 @@ namespace io_acceptor {
if(i != nBytesToRead)
{
- OUString message(RTL_CONSTASCII_USTRINGPARAM("acc_socket.cxx:SocketConnection::read: error - "));
+ OUString message("acc_socket.cxx:SocketConnection::read: error - ");
message += m_socket.getErrorAsString();
IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this)));
@@ -227,7 +227,7 @@ namespace io_acceptor {
}
else
{
- OUString message(RTL_CONSTASCII_USTRINGPARAM("acc_socket.cxx:SocketConnection::read: error - connection already closed"));
+ OUString message("acc_socket.cxx:SocketConnection::read: error - connection already closed");
IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this)));
@@ -248,7 +248,7 @@ namespace io_acceptor {
{
if( m_socket.write( seq.getConstArray() , seq.getLength() ) != seq.getLength() )
{
- OUString message(RTL_CONSTASCII_USTRINGPARAM("acc_socket.cxx:SocketConnection::write: error - "));
+ OUString message("acc_socket.cxx:SocketConnection::write: error - ");
message += m_socket.getErrorAsString();
IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this)));
@@ -263,7 +263,7 @@ namespace io_acceptor {
}
else
{
- OUString message(RTL_CONSTASCII_USTRINGPARAM("acc_socket.cxx:SocketConnection::write: error - connection already closed"));
+ OUString message("acc_socket.cxx:SocketConnection::write: error - connection already closed");
IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this)));