summaryrefslogtreecommitdiffstats
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/source/acceptor/acc_socket.cxx8
-rw-r--r--io/source/connector/ctr_socket.cxx8
2 files changed, 8 insertions, 8 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;
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;