diff options
Diffstat (limited to 'unotest/source/cpp')
-rw-r--r-- | unotest/source/cpp/bootstrapfixturebase.cxx | 2 | ||||
-rw-r--r-- | unotest/source/cpp/macros_test.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx index 7a778ed2c443..e04c00f42994 100644 --- a/unotest/source/cpp/bootstrapfixturebase.cxx +++ b/unotest/source/cpp/bootstrapfixturebase.cxx @@ -95,7 +95,7 @@ void test::BootstrapFixtureBase::setUp() { // set UserInstallation to user profile dir in test/user-template OUString sUserInstallURL = m_aWorkdirRootURL + "/unittest"; - rtl::Bootstrap::set(OUString("UserInstallation"), sUserInstallURL); + rtl::Bootstrap::set("UserInstallation", sUserInstallURL); m_xContext = comphelper::getProcessComponentContext(); m_xFactory = m_xContext->getServiceManager(); diff --git a/unotest/source/cpp/macros_test.cxx b/unotest/source/cpp/macros_test.cxx index cf23ee4d1e83..d7a57d5577b6 100644 --- a/unotest/source/cpp/macros_test.cxx +++ b/unotest/source/cpp/macros_test.cxx @@ -47,7 +47,7 @@ uno::Reference<css::lang::XComponent> MacrosTest::loadFromDesktop(const OUString args.insert(args.end(), rExtraArgs.begin(), rExtraArgs.end()); - uno::Reference<lang::XComponent> xComponent = xLoader->loadComponentFromURL(rURL, OUString("_default"), 0, comphelper::containerToSequence(args)); + uno::Reference<lang::XComponent> xComponent = xLoader->loadComponentFromURL(rURL, "_default", 0, comphelper::containerToSequence(args)); OUString sMessage = "loading failed: " + rURL; CPPUNIT_ASSERT_MESSAGE(OUStringToOString( sMessage, RTL_TEXTENCODING_UTF8 ).getStr( ), xComponent.is()); return xComponent; |