summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-06-08 21:31:06 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-06-08 22:20:58 +0400
commit3768e71344a298d8e7ac07fb38a97ccf58f83a10 (patch)
tree07d66a829fa80ef83ecec8d65397840a773f8505 /framework
parentDrop unused file (diff)
downloadcore-3768e71344a298d8e7ac07fb38a97ccf58f83a10.tar.gz
core-3768e71344a298d8e7ac07fb38a97ccf58f83a10.zip
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
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/addonstoolbarmanager.cxx4
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) );