diff options
author | Philipp Lohmann <pl@openoffice.org> | 2008-12-16 14:37:17 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2008-12-16 14:37:17 +0000 |
commit | edd045d4d75617b64bf9b9f08adfcbd6d94470ec (patch) | |
tree | 3a761780345c24b5f82c42ce38666cc9cd913197 /framework/source | |
parent | 2aba9f078c1e241eec4d453eb52c08eca743d695 (diff) |
#i93173# lazy deletion of toolbars
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/uielement/toolbarmanager.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index 7d75f8a374..d4948a90ce 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -336,7 +336,8 @@ void ToolBarManager::Destroy() delete static_cast< AddonsParams* >( m_pToolBar->GetItemData( nItemId )); } - delete m_pToolBar; + // #i93173# delete toolbar lazily as we can still be in one of its handlers + m_pToolBar->doLazyDelete(); m_pToolBar = 0; } |