loplugin:stringconstant: elide explicit ctor usage (manually due to macros)

Change-Id: I888a2487201d6f6e9923de156bc616897b828624
This commit is contained in:
Stephan Bergmann
2015-11-06 12:33:25 +01:00
parent 27219b1635
commit 7d4dcb08bc

View File

@@ -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");