summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-01 16:13:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-02 14:24:52 +0200
commit6008cfd6cd661e5fe0b73a43e908d6cac5ffc2d1 (patch)
treef065616a6d3741fec0ee140df2f1a7fd4bad5580 /sc/source
parentf53470d1e6ab1d29019919c8e37a55f1481d80d3 (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 'sc/source')
-rw-r--r--sc/source/filter/excel/xltoolbar.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xltoolbar.cxx b/sc/source/filter/excel/xltoolbar.cxx
index b3658661485c..cc19634a376d 100644
--- a/sc/source/filter/excel/xltoolbar.cxx
+++ b/sc/source/filter/excel/xltoolbar.cxx
@@ -264,8 +264,7 @@ bool ScTBC::ImportToolBarControl( ScCTBWrapper& rWrapper, const css::uno::Refere
{
std::vector< css::beans::PropertyValue > props;
bool bBeginGroup = false;
- if ( ! tbcd->ImportToolBarControl( helper, props, bBeginGroup, bIsMenuToolbar ) )
- return false;
+ tbcd->ImportToolBarControl( helper, props, bBeginGroup, bIsMenuToolbar );
TBCMenuSpecific* pMenu = tbcd->getMenuSpecific();
if ( pMenu )
{