diff options
Diffstat (limited to 'io/source/connector/ctr_socket.cxx')
-rw-r--r-- | io/source/connector/ctr_socket.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx index d7ad019a3525..059d97270c87 100644 --- a/io/source/connector/ctr_socket.cxx +++ b/io/source/connector/ctr_socket.cxx @@ -135,7 +135,7 @@ namespace stoc_connector { OUString message("ctr_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; @@ -151,7 +151,7 @@ namespace stoc_connector { { OUString message("ctr_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; @@ -173,7 +173,7 @@ namespace stoc_connector { OUString message("ctr_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; @@ -187,7 +187,7 @@ namespace stoc_connector { { OUString message("ctr_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; |