summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unotest/source/cpp/bootstrapfixturebase.cxx3
1 files changed, 1 insertions, 2 deletions
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();