diff options
-rw-r--r-- | framework/source/uielement/toolbarmanager.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index d4948a90ce..b5c1dd8273 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -336,8 +336,11 @@ void ToolBarManager::Destroy() delete static_cast< AddonsParams* >( m_pToolBar->GetItemData( nItemId )); } - // #i93173# delete toolbar lazily as we can still be in one of its handlers - m_pToolBar->doLazyDelete(); + /* #i99167# removed change for i93173 since there is some weird crash + // #i93173# delete toolbar lazily as we can still be in one of its handlers + m_pToolBar->doLazyDelete(); + */ + delete m_pToolBar; m_pToolBar = 0; } |