diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8toolbar.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8toolbar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx index 06cf7e707e2b..2f18072e80d4 100644 --- a/sw/source/filter/ww8/ww8toolbar.cxx +++ b/sw/source/filter/ww8/ww8toolbar.cxx @@ -707,7 +707,7 @@ TBC::ImportToolBarControl( CTBWrapper& rWrapper, const css::uno::Reference< css: if ( bBuiltin ) { rtl::OUString sCommand = helper.MSOCommandToOOCommand( cmdId ); - if ( sCommand.getLength() > 0 ) + if ( !sCommand.isEmpty() ) { beans::PropertyValue aProp; |