summaryrefslogtreecommitdiff
path: root/svx/source/form/filtnav.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 13:30:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 17:59:20 +0200
commitf44bd7bb0ce23535f5e0ced7966677f4fff943fc (patch)
tree4e1801a7713e31b2b0f8f9d4fd586d5873511d2e /svx/source/form/filtnav.cxx
parentb1ef3c043d66e7cd529fc4fb13a3d2e8fdb4f2ee (diff)
loplugin:referencecasting in svx
Change-Id: I2f6bc2467fa7689d186bc2bc45d2071ea0a38e63 Reviewed-on: https://gerrit.libreoffice.org/75998 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/form/filtnav.cxx')
-rw-r--r--svx/source/form/filtnav.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index dc406e6bd9ea..27d7c2d61a37 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -1810,7 +1810,7 @@ void FmFilterNavigatorWin::UpdateContent(FmFormShell const * pFormShell)
Reference< XIndexAccess > xContainer;
if (xController.is())
{
- Reference< XChild > xChild(xController, UNO_QUERY);
+ Reference< XChild > xChild = xController;
for (Reference< XInterface > xParent(xChild->getParent());
xParent.is();
xParent = xChild.is() ? xChild->getParent() : Reference< XInterface > ())