summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io/source/connector/connector.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx
index a09909519da7..228977e3634d 100644
--- a/io/source/connector/connector.cxx
+++ b/io/source/connector/connector.cxx
@@ -91,11 +91,10 @@ namespace stoc_connector
}
else
{
- OUString sMessage("Connector : couldn't connect to pipe ");
- sMessage += aName;
- sMessage += "(";
- sMessage += OUString::number( pConn->m_pipe.getError() );
- sMessage += ")";
+ OUString const sMessage(
+ "Connector : couldn't connect to pipe " + aName + "("
+ + OUString::number(pConn->m_pipe.getError()) + ")");
+ SAL_WARN("io.connector", sMessage);
delete pConn;
throw NoConnectException( sMessage );
}