summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
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");