summaryrefslogtreecommitdiff
path: root/vcl/backendtest
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-14 16:41:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-15 11:02:53 +0200
commit4c4d9a482b93440fd3388ffa1715e66d1f391fea (patch)
treedc599ac00d6ca5c3288e4e7053c02c0d62902346 /vcl/backendtest
parent256480b8b80769149652bb62f401672ee8fafe1f (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.cxx4
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");