diff options
Diffstat (limited to 'io/source/acceptor/acc_socket.cxx')
-rw-r--r-- | io/source/acceptor/acc_socket.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx index 936116f93c74..64376cb07846 100644 --- a/io/source/acceptor/acc_socket.cxx +++ b/io/source/acceptor/acc_socket.cxx @@ -211,7 +211,7 @@ namespace io_acceptor { OUString message("acc_socket.cxx:SocketConnection::read: error - "); message += m_socket.getErrorAsString(); - IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this))); + IOException ioException(message, static_cast<XConnection *>(this)); Any any; any <<= ioException; @@ -227,7 +227,7 @@ namespace io_acceptor { { OUString message("acc_socket.cxx:SocketConnection::read: error - connection already closed"); - IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this))); + IOException ioException(message, static_cast<XConnection *>(this)); Any any; any <<= ioException; @@ -249,7 +249,7 @@ namespace io_acceptor { OUString message("acc_socket.cxx:SocketConnection::write: error - "); message += m_socket.getErrorAsString(); - IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this))); + IOException ioException(message, static_cast<XConnection *>(this)); Any any; any <<= ioException; @@ -263,7 +263,7 @@ namespace io_acceptor { { OUString message("acc_socket.cxx:SocketConnection::write: error - connection already closed"); - IOException ioException(message, Reference<XInterface>(static_cast<XConnection *>(this))); + IOException ioException(message, static_cast<XConnection *>(this)); Any any; any <<= ioException; |