diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:36:25 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:36:25 +0100 |
commit | 77ce12c6f7a7d4516f7cd19b75cbaa9eb89313d9 (patch) | |
tree | d2f8a892d4f28bc626a234dcb78b239056920529 /io/source | |
parent | d22a052d121fcc5a425e7d30427b6431e6d0c529 (diff) |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: Ifcfb6792138802f4150ccb966927818fbd3f64e3
Diffstat (limited to 'io/source')
-rw-r--r-- | io/source/acceptor/acceptor.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx index e2b6ffd58d0f..a9298a75fc2d 100644 --- a/io/source/acceptor/acceptor.cxx +++ b/io/source/acceptor/acceptor.cxx @@ -150,7 +150,7 @@ namespace io_acceptor { OUString aName( aDesc.getParameter( - OUString("name"))); + "name")); m_pPipe = new PipeAcceptor(aName, sConnectionDescription); @@ -172,18 +172,18 @@ namespace io_acceptor { OUString aHost; if (aDesc.hasParameter( - OUString("host"))) + "host")) aHost = aDesc.getParameter( - OUString("host")); + "host"); else aHost = "localhost"; sal_uInt16 nPort = static_cast< sal_uInt16 >( aDesc.getParameter( - OUString("port")). + "port"). toInt32()); bool bTcpNoDelay = aDesc.getParameter( - OUString("tcpnodelay")).toInt32() != 0; + "tcpnodelay").toInt32() != 0; m_pSocket = new SocketAcceptor( aHost, nPort, bTcpNoDelay, sConnectionDescription); |