diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-20 13:30:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-20 17:59:20 +0200 |
commit | f44bd7bb0ce23535f5e0ced7966677f4fff943fc (patch) | |
tree | 4e1801a7713e31b2b0f8f9d4fd586d5873511d2e /svx/source/form/filtnav.cxx | |
parent | b1ef3c043d66e7cd529fc4fb13a3d2e8fdb4f2ee (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.cxx | 2 |
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 > ()) |