diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-30 20:43:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-30 21:21:28 +0100 |
commit | 1978655c32fe4b0c79bf98ee5b20c899ba59ba98 (patch) | |
tree | e42485e650fc0132a8c4520dd3f08bd5cdb2adac /framework/source/fwe | |
parent | d085cc1203880d0bfb52c4a99f1af30b99a726fd (diff) |
coverity#1194897 Logically dead code
Change-Id: I4cf8d63822c4a68b7cdc126a8d76c1ce7b064655
Diffstat (limited to 'framework/source/fwe')
-rw-r--r-- | framework/source/fwe/classes/addonsoptions.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index 97784d0a8858..05b296b66c34 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -842,7 +842,6 @@ bool AddonsOptions_Impl::ReadOfficeToolBarSet( AddonToolBars& rAddonOfficeToolBa bool AddonsOptions_Impl::ReadToolBarItemSet( const OUString& rToolBarItemSetNodeName, Sequence< Sequence< PropertyValue > >& rAddonOfficeToolBarSeq ) { - bool bInsertSeparator = false; sal_uInt32 nToolBarItemCount = rAddonOfficeToolBarSeq.getLength(); OUString aAddonToolBarItemSetNode( rToolBarItemSetNodeName + m_aPathDelimiter ); Sequence< OUString > aAddonToolBarItemSetNodeSeq = GetNodeNames( rToolBarItemSetNodeName ); @@ -865,12 +864,6 @@ bool AddonsOptions_Impl::ReadToolBarItemSet( const OUString& rToolBarItemSetNode // Read the ToolBarItem if ( ReadToolBarItem( aToolBarItemNode, aToolBarItem ) ) { - if ( bInsertSeparator ) - { - bInsertSeparator = false; - InsertToolBarSeparator( rAddonOfficeToolBarSeq ); - } - // Successfully read a toolbar item, append to our list sal_uInt32 nAddonCount = rAddonOfficeToolBarSeq.getLength(); rAddonOfficeToolBarSeq.realloc( nAddonCount+1 ); |