diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-06-08 21:31:06 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-06-08 22:20:58 +0400 |
commit | 3768e71344a298d8e7ac07fb38a97ccf58f83a10 (patch) | |
tree | 07d66a829fa80ef83ecec8d65397840a773f8505 | |
parent | 75f97d4e3e0e4f6acc116dfe2fc21853f6bfdb64 (diff) |
fdo#42405: remove this, nowadays MenuItemAllowed disables menu entries
since c4461665bd030a555a8b7ffa5bd6717cfb787b9d m_bCanBeCustomized = false
will lead to toolbar locking, but we don't want this, indeed.
Change-Id: I42f16a017c7f1cf6e8321c7fe26c027ec79c7953
-rw-r--r-- | framework/source/uielement/addonstoolbarmanager.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/framework/source/uielement/addonstoolbarmanager.cxx b/framework/source/uielement/addonstoolbarmanager.cxx index 110f7a157cd7..c661727d2fcb 100644 --- a/framework/source/uielement/addonstoolbarmanager.cxx +++ b/framework/source/uielement/addonstoolbarmanager.cxx @@ -104,10 +104,6 @@ AddonsToolBarManager::AddonsToolBarManager( const Reference< XMultiServiceFactor ToolBar* pToolBar ) : ToolBarManager( rServiceManager, rFrame, rResourceName, pToolBar ) { - // Configuration data is retrieved from non-writable configuration layer. Therefor we - // must disable some menu entries. - m_bCanBeCustomized = sal_False; - m_pToolBar->SetMenuType( TOOLBOX_MENUTYPE_CLIPPEDITEMS ); m_pToolBar->SetSelectHdl( LINK( this, AddonsToolBarManager, Select) ); m_pToolBar->SetActivateHdl( LINK( this, AddonsToolBarManager, Activate) ); |