[Libreoffice-commits] core.git: io/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 4 19:18:24 UTC 2020


 io/source/acceptor/acceptor.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit f1125b56d1d049448542c699a5c62dc6aa3a0bab
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jun 4 10:37:21 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jun 4 21:17:45 2020 +0200

    Upcoming loplugin:elidestringvar: io
    
    Change-Id: Ic68bc08ed70733728a50d3753a27ec62ed4953f3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95485
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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() )


More information about the Libreoffice-commits mailing list