summaryrefslogtreecommitdiffstats
path: root/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx')
-rw-r--r--unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx b/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
index 2603f1607791..0d4d79321a99 100644
--- a/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
+++ b/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
@@ -74,9 +74,8 @@ private:
Prot::Prot()
+ : m_xContext(cppu::defaultBootstrap_InitialComponentContext())
{
- m_xContext = cppu::defaultBootstrap_InitialComponentContext();
-
uno::Reference<lang::XMultiComponentFactory> xFactory = m_xContext->getServiceManager();
uno::Reference<lang::XMultiServiceFactory> xSFactory(xFactory, uno::UNO_QUERY_THROW);