diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:38:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:36 +0100 |
commit | 484401bb5e2aaea5cb1645743ed615f4166b6cda (patch) | |
tree | 3721b0b35fe3da541bd241f0911f453b30de78ca /unotest/source/cpp/officeconnection.cxx | |
parent | 9c9276c9e1d6cd2b9bd4bb69349dfb6fb32e6bf3 (diff) |
unotest: Use appropriate OUString functions on string constants
Change-Id: I449587dd8e6e625e886e4ffc6419c612adffcfde
Diffstat (limited to 'unotest/source/cpp/officeconnection.cxx')
-rw-r--r-- | unotest/source/cpp/officeconnection.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/unotest/source/cpp/officeconnection.cxx b/unotest/source/cpp/officeconnection.cxx index 91568b089633..0c9f045b23a2 100644 --- a/unotest/source/cpp/officeconnection.cxx +++ b/unotest/source/cpp/officeconnection.cxx @@ -65,9 +65,7 @@ void OfficeConnection::setUp() { OUString argUser; CPPUNIT_ASSERT( detail::getArgument(OUString("user"), &argUser)); - OUString userArg( - OUString("-env:UserInstallation=") + - toAbsoluteFileUrl(argUser)); + OUString userArg("-env:UserInstallation=" + toAbsoluteFileUrl(argUser)); OUString jreArg( "-env:UNO_JAVA_JFW_ENV_JREHOME=true"); OUString classpathArg("-env:UNO_JAVA_JFW_ENV_CLASSPATH=true"); @@ -101,9 +99,7 @@ void OfficeConnection::setUp() { context_ = css::uno::Reference< css::uno::XComponentContext >( resolver->resolve( - OUString("uno:") + - desc + - OUString(";urp;StarOffice.ComponentContext")), + "uno:" + desc + ";urp;StarOffice.ComponentContext"), css::uno::UNO_QUERY_THROW); break; } catch (css::connection::NoConnectException &) {} |