diff options
-rw-r--r-- | vcl/workben/vcldemo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index 9155fb7db3ad..48a0bb0bc2ca 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -2268,13 +2268,13 @@ public: } protected: - uno::Reference<lang::XMultiServiceFactory> xMSF; void Init() override { try { uno::Reference<uno::XComponentContext> xComponentContext = ::cppu::defaultBootstrap_InitialComponentContext(); + uno::Reference<lang::XMultiServiceFactory> xMSF; xMSF.set(xComponentContext->getServiceManager(), uno::UNO_QUERY); if(!xMSF.is()) Application::Abort("Bootstrap failure - no service manager"); |