From 59b072e22b0610abc7ffdbc75873ef5cbba58de7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 4 Nov 2015 08:29:36 +0200 Subject: yyyyy Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548 --- unotest/source/cpp/bootstrapfixturebase.cxx | 2 +- unotest/source/cpp/macros_test.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'unotest') 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 MacrosTest::loadFromDesktop(const OUString args.insert(args.end(), rExtraArgs.begin(), rExtraArgs.end()); - uno::Reference xComponent = xLoader->loadComponentFromURL(rURL, OUString("_default"), 0, comphelper::containerToSequence(args)); + uno::Reference 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; -- cgit