diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-01 16:13:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-02 14:24:52 +0200 |
commit | 6008cfd6cd661e5fe0b73a43e908d6cac5ffc2d1 (patch) | |
tree | f065616a6d3741fec0ee140df2f1a7fd4bad5580 /sw | |
parent | f53470d1e6ab1d29019919c8e37a55f1481d80d3 (diff) |
loplugin:returnconstant in filter
Change-Id: I0ebbd835ddc50e984920950e1559faf163c2c30f
Reviewed-on: https://gerrit.libreoffice.org/58429
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8toolbar.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx index b7dc69dc92bf..a807a6b35489 100644 --- a/sw/source/filter/ww8/ww8toolbar.cxx +++ b/sw/source/filter/ww8/ww8toolbar.cxx @@ -564,8 +564,7 @@ SwTBC::ImportToolBarControl( SwCTBWrapper& rWrapper, const css::uno::Reference< } } bool bBeginGroup = false; - if ( ! tbcd->ImportToolBarControl( helper, props, bBeginGroup, bIsMenuBar ) ) - return false; + tbcd->ImportToolBarControl( helper, props, bBeginGroup, bIsMenuBar ); TBCMenuSpecific* pMenu = tbcd->getMenuSpecific(); if ( pMenu ) |