diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 08:23:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 14:47:12 +0200 |
commit | bf9f0b2973138652946f2480ede72c54602b854a (patch) | |
tree | fd79d9281c3d7661ade8d50ed49769184e581804 /framework/inc | |
parent | 04112bce506c60254cb1cb8536f942c8adb5c7d6 (diff) |
loplugin:sequentialassign in framework
Change-Id: I98da731a0f6b72ea0cb890dae2f25992c75a0984
Reviewed-on: https://gerrit.libreoffice.org/70701
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/macros/registration.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/inc/macros/registration.hxx b/framework/inc/macros/registration.hxx index a413e8a2964e..4d41818a9321 100644 --- a/framework/inc/macros/registration.hxx +++ b/framework/inc/macros/registration.hxx @@ -65,8 +65,7 @@ ________________________________________________________________________________ { \ /* Define variables which are used in following macros. */ \ css::uno::Reference< css::uno::XInterface > xFactory; \ - css::uno::Reference< css::lang::XMultiServiceFactory > xServiceManager; \ - xServiceManager = static_cast< css::lang::XMultiServiceFactory* >( pServiceManager ); \ + css::uno::Reference< css::lang::XMultiServiceFactory > xServiceManager = static_cast< css::lang::XMultiServiceFactory* >( pServiceManager ); \ /* These parameter will expand to */ \ /* "IF_NAME_CREATECOMPONENTFACTORY(a) */ \ /* else */ \ |