diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-21 14:46:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-21 16:04:20 +0200 |
commit | 01782ecd9fb1e712925cdeb29694faad3c6beed7 (patch) | |
tree | e5d6050f3b327cd3db2b2a4a7651cbfaca6625e5 /sd | |
parent | bac57f75cd18472167742e804d789ffbc43fa9a9 (diff) |
loplugin:referencecasting in various
Change-Id: Id4e3d9d1bbfd47181299568afec45e996eb1eed5
Reviewed-on: https://gerrit.libreoffice.org/76071
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/framework/tools/FrameworkHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index 1ab5f4552500..e3826d01c041 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -930,7 +930,7 @@ LifetimeController::LifetimeController (::sd::ViewShellBase& rBase) acquire(); mbListeningToViewShellBase = true; - Reference<XComponent> xComponent (rBase.GetController(), UNO_QUERY); + Reference<XComponent> xComponent = rBase.GetController(); if (xComponent.is()) { xComponent->addEventListener(this); |