From f1125b56d1d049448542c699a5c62dc6aa3a0bab Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 4 Jun 2020 10:37:21 +0200 Subject: Upcoming loplugin:elidestringvar: io Change-Id: Ic68bc08ed70733728a50d3753a27ec62ed4953f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95485 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- io/source/acceptor/acceptor.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'io') 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() ) -- cgit