summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8toolbar.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 13:30:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 17:59:32 +0200
commit586cfef1df9fb99aaf018029b7f06363e96bc72b (patch)
treedc4be0619ab5fccdf1e8e8780ddcdfa022e2f0eb /sw/source/filter/ww8/ww8toolbar.cxx
parentf44bd7bb0ce23535f5e0ced7966677f4fff943fc (diff)
loplugin:referencecasting in sw
Change-Id: Ib5de4377b22815ba718559ff6fcfd6ab5a0547a6 Reviewed-on: https://gerrit.libreoffice.org/75999 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/ww8toolbar.cxx')
-rw-r--r--sw/source/filter/ww8/ww8toolbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx
index c03777bbbdf8..a2406cf34d11 100644
--- a/sw/source/filter/ww8/ww8toolbar.cxx
+++ b/sw/source/filter/ww8/ww8toolbar.cxx
@@ -579,7 +579,7 @@ SwTBC::ImportToolBarControl( SwCTBWrapper& rWrapper, const css::uno::Reference<
return false;
if ( !bIsMenuBar )
{
- if ( !helper.createMenu( pMenu->Name(), uno::Reference< container::XIndexAccess >( xMenuDesc, uno::UNO_QUERY ) ) )
+ if ( !helper.createMenu( pMenu->Name(), xMenuDesc ) )
return false;
}
else