summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8toolbar.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 12:47:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 17:55:36 +0000
commitaba0f624c8d4770b8a84a46add07c71656e96318 (patch)
treed385702d539150e3aa8ed7d52b3a3537b8abe48e /sw/source/filter/ww8/ww8toolbar.cxx
parente8260df1d67baf807771cd5c740164a227856515 (diff)
loplugin:expandablemethodds in sw(part3)
Change-Id: I7db01985a35407e4169709ede5324656c6629047 Reviewed-on: https://gerrit.libreoffice.org/30095 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-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 af32be2e83d0..b75d96ed5617 100644
--- a/sw/source/filter/ww8/ww8toolbar.cxx
+++ b/sw/source/filter/ww8/ww8toolbar.cxx
@@ -404,7 +404,7 @@ bool Customization::ImportMenu( SwCTBWrapper& rWrapper, CustomToolBarImportHelpe
bool Customization::ImportCustomToolBar( SwCTBWrapper& rWrapper, CustomToolBarImportHelper& helper )
{
- if ( GetTBIDForTB() == 0x25 )
+ if ( tbidForTBD == 0x25 )
return ImportMenu( rWrapper, helper );
if ( !customizationDataCTB.get() )
return false;