summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:38:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:38:26 +0100
commitebaa338df5372141ed5afdec6c70cd6d34fa05f6 (patch)
tree31f4343f7902024134d724b5befba5d179a34f6c /unotest
parent0f87f64fd0300ed9e219e5cfc12bb40433ee86e4 (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I909557f7ca803de8dc8604e95cc66430abb13f53
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/cpp/officeconnection.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotest/source/cpp/officeconnection.cxx b/unotest/source/cpp/officeconnection.cxx
index e86a883dd5b4..a67e7fc31a05 100644
--- a/unotest/source/cpp/officeconnection.cxx
+++ b/unotest/source/cpp/officeconnection.cxx
@@ -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;
}