diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-09-22 17:33:11 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-09-22 18:01:09 +0200 |
commit | dc99e5e9ba7eb5a4782d889675ad7d14129e37d8 (patch) | |
tree | f4dd0a229e6323f220f353785c304e84964897cf /vcl/workben/vcldemo.cxx | |
parent | d67ec7324bcad0ba945f200a790ded3df98009ab (diff) |
vcl: [loplugin:badstatics] aApp
DemoApp::xMSF doesn't need to be a member.
Change-Id: I3b2d0d4c58ab04e0a82b31938c5f64b274ca004e
Diffstat (limited to 'vcl/workben/vcldemo.cxx')
-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"); |