summaryrefslogtreecommitdiff
path: root/sfx2/source/config
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 20:11:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 17:58:43 +0200
commit476a652361de507303c7298a40cc96fa4bda22a3 (patch)
tree573ec85eeb6e2604c5cb2f078ea02f848686d443 /sfx2/source/config
parent254dfda42e2e7bd8be77ccdc702ed7b09a226e57 (diff)
loplugin:referencecasting in sfx2
Change-Id: I97cd8821aa9a6f462f9b271940483738655ee9cf Reviewed-on: https://gerrit.libreoffice.org/75979 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/config')
-rw-r--r--sfx2/source/config/evntconf.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx
index 1365ead79d69..c21ba4dbbf7d 100644
--- a/sfx2/source/config/evntconf.cxx
+++ b/sfx2/source/config/evntconf.cxx
@@ -183,8 +183,7 @@ static void PropagateEvent_Impl( SfxObjectShell const *pDoc, const OUString& aEv
}
else
{
- xSupplier.set( frame::theGlobalEventBroadcaster::get(::comphelper::getProcessComponentContext()),
- uno::UNO_QUERY );
+ xSupplier = frame::theGlobalEventBroadcaster::get(::comphelper::getProcessComponentContext());
}
if ( !xSupplier.is() )