Kaydet (Commit) ebaa338d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)

Change-Id: I909557f7ca803de8dc8604e95cc66430abb13f53
üst 0f87f64f
......@@ -53,7 +53,7 @@ void OfficeConnection::setUp() {
OUString("soffice"),
&argSoffice));
if (argSoffice.match("path:")) {
desc = "pipe,name=" + uniquePipeName(OUString("oootest"));
desc = "pipe,name=" + uniquePipeName("oootest");
OUString noquickArg("--quickstart=no");
OUString norestoreArg("--norestore");
OUString nologoArg("--nologo");
......@@ -74,7 +74,7 @@ void OfficeConnection::setUp() {
jreArg.pData, classpathArg.pData };
rtl_uString ** envs = 0;
OUString argEnv;
if (detail::getArgument(OUString("env"), &argEnv))
if (detail::getArgument("env", &argEnv))
{
envs = &argEnv.pData;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment