summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io/source/acceptor/acceptor.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx
index d1f2bb54bf40..15df65592a33 100644
--- a/io/source/acceptor/acceptor.cxx
+++ b/io/source/acceptor/acceptor.cxx
@@ -119,8 +119,7 @@ namespace io_acceptor
m_sLastDescription != sConnectionDescription )
{
// instantiate another acceptor for different ports
- OUString sMessage = "acceptor::accept called multiple times with different connection strings\n";
- throw ConnectionSetupException( sMessage );
+ throw ConnectionSetupException( "acceptor::accept called multiple times with different connection strings\n" );
}
if( m_sLastDescription.isEmpty() )