summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterTimer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 20:10:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 07:57:54 +0200
commite1983485a83bb81d3675c429a2525f7969cc6169 (patch)
treebc97039ef4b605d8ac13d39c85756d8d3978686d /sdext/source/presenter/PresenterTimer.cxx
parent775c8a76d61f5692c54f524725b369cfd2a91539 (diff)
loplugin:referencecasting in sdext
Change-Id: I4599375fae2516da20df0bdfc09f391e0189fc46 Reviewed-on: https://gerrit.libreoffice.org/75978 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/presenter/PresenterTimer.cxx')
-rw-r--r--sdext/source/presenter/PresenterTimer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx
index 7a1d74217a4e..88accf971f47 100644
--- a/sdext/source/presenter/PresenterTimer.cxx
+++ b/sdext/source/presenter/PresenterTimer.cxx
@@ -449,8 +449,8 @@ PresenterClockTimer::PresenterClockTimer (const Reference<XComponentContext>& rx
, m_xContext(rxContext)
{
assert(m_xContext.is());
- Reference<lang::XMultiComponentFactory> xFactory (
- rxContext->getServiceManager(), UNO_QUERY);
+ Reference<lang::XMultiComponentFactory> xFactory =
+ rxContext->getServiceManager();
if (xFactory.is())
mxRequestCallback.set(
xFactory->createInstanceWithContext(