summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 12:33:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 12:33:25 +0100
commit7d4dcb08bcf96bde0eddab14ec45cbe37eee720b (patch)
treeb7a2ee5c47ea82f5434148bf252c1113adad9a37 /unotest
parent27219b16359bc975be4cc04bf2d0ab167f30c061 (diff)
loplugin:stringconstant: elide explicit ctor usage (manually due to macros)
Change-Id: I888a2487201d6f6e9923de156bc616897b828624
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 a67e7fc31a05..63388bc4810a 100644
--- a/unotest/source/cpp/officeconnection.cxx
+++ b/unotest/source/cpp/officeconnection.cxx
@@ -50,7 +50,7 @@ void OfficeConnection::setUp() {
OUString argSoffice;
CPPUNIT_ASSERT(
detail::getArgument(
- OUString("soffice"),
+ "soffice",
&argSoffice));
if (argSoffice.match("path:")) {
desc = "pipe,name=" + uniquePipeName("oootest");
@@ -63,7 +63,7 @@ void OfficeConnection::setUp() {
OUString acceptArg("--accept=" + desc + ";urp");
OUString argUser;
CPPUNIT_ASSERT(
- detail::getArgument(OUString("user"), &argUser));
+ detail::getArgument("user", &argUser));
OUString userArg("-env:UserInstallation=" + toAbsoluteFileUrl(argUser));
OUString jreArg(
"-env:UNO_JAVA_JFW_ENV_JREHOME=true");