summaryrefslogtreecommitdiffstats
path: root/io/source/connector/ctr_socket.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/connector/ctr_socket.cxx')
-rw-r--r--io/source/connector/ctr_socket.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/io/source/connector/ctr_socket.cxx b/io/source/connector/ctr_socket.cxx
index 35f4e80511a7..e5908d6e41ed 100644
--- a/io/source/connector/ctr_socket.cxx
+++ b/io/source/connector/ctr_socket.cxx
@@ -147,9 +147,7 @@ namespace stoc_connector {
}
else
{
- OUString message("ctr_socket.cxx:SocketConnection::read: error - connection already closed");
-
- IOException ioException(message, static_cast<XConnection *>(this));
+ IOException ioException("ctr_socket.cxx:SocketConnection::read: error - connection already closed", static_cast<XConnection *>(this));
Any any;
any <<= ioException;
@@ -181,9 +179,7 @@ namespace stoc_connector {
}
else
{
- OUString message("ctr_socket.cxx:SocketConnection::write: error - connection already closed");
-
- IOException ioException(message, static_cast<XConnection *>(this));
+ IOException ioException("ctr_socket.cxx:SocketConnection::write: error - connection already closed", static_cast<XConnection *>(this));
Any any;
any <<= ioException;