From 4ef5dfad794673f06038e8d8550795d9c5203885 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 13 Jun 2014 17:52:51 +0200 Subject: loplugin:staticcall Change-Id: Ib04cadafab0f3d0cd9e6bb550d846a3a1ca8ea76 --- unotest/source/cpp/bootstrapfixturebase.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'unotest') diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx index c407dc677b20..41272c68b753 100644 --- a/unotest/source/cpp/bootstrapfixturebase.cxx +++ b/unotest/source/cpp/bootstrapfixturebase.cxx @@ -95,9 +95,8 @@ OUString test::BootstrapFixtureBase::getPathFromWorkdir( const char *pPath ) void test::BootstrapFixtureBase::setUp() { // set UserInstallation to user profile dir in test/user-template - rtl::Bootstrap aDefaultVars; OUString sUserInstallURL = m_aWorkdirRootURL + "/unittest"; - aDefaultVars.set(OUString("UserInstallation"), sUserInstallURL); + rtl::Bootstrap::set(OUString("UserInstallation"), sUserInstallURL); m_xContext = comphelper::getProcessComponentContext(); m_xFactory = m_xContext->getServiceManager(); -- cgit