summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-04 10:37:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-04 21:17:45 +0200
commitf1125b56d1d049448542c699a5c62dc6aa3a0bab (patch)
tree2730a26b12019bf72355c4a51bea9bdb41b7d891 /io
parent21e930b292b8dcfacb3a5f4dd09c69d858654b6e (diff)
Upcoming loplugin:elidestringvar: io
Change-Id: Ic68bc08ed70733728a50d3753a27ec62ed4953f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95485 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'io')
-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() )