diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-14 16:41:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-15 11:02:53 +0200 |
commit | 4c4d9a482b93440fd3388ffa1715e66d1f391fea (patch) | |
tree | dc599ac00d6ca5c3288e4e7053c02c0d62902346 /vcl/backendtest | |
parent | 256480b8b80769149652bb62f401672ee8fafe1f (diff) |
loplugin:sequentialassign in vcl
Change-Id: I530b81b3258a6e1c1456da53bfe1285f14aee712
Reviewed-on: https://gerrit.libreoffice.org/70734
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/backendtest')
-rw-r--r-- | vcl/backendtest/VisualBackendTest.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/backendtest/VisualBackendTest.cxx b/vcl/backendtest/VisualBackendTest.cxx index 366005a5b198..b06610493073 100644 --- a/vcl/backendtest/VisualBackendTest.cxx +++ b/vcl/backendtest/VisualBackendTest.cxx @@ -545,9 +545,7 @@ protected: try { uno::Reference<uno::XComponentContext> xComponentContext = ::cppu::defaultBootstrap_InitialComponentContext(); - uno::Reference<lang::XMultiServiceFactory> xMSF; - - xMSF = uno::Reference<lang::XMultiServiceFactory>(xComponentContext->getServiceManager(), uno::UNO_QUERY); + uno::Reference<lang::XMultiServiceFactory> xMSF = uno::Reference<lang::XMultiServiceFactory>(xComponentContext->getServiceManager(), uno::UNO_QUERY); if (!xMSF.is()) Application::Abort("Bootstrap failure - no service manager"); |