summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2008-12-16 14:42:05 +0000
committerPhilipp Lohmann <pl@openoffice.org>2008-12-16 14:42:05 +0000
commit4ee46e177a830739cdc57613784b99f29ec00bea (patch)
tree4aa004ed142c1eb3ce30b80760a24fa2e064be30 /framework
parent26ede1844bf8f599449fbc77e9fbcf008e861e1c (diff)
revert erroneous commit on trunk
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/toolbarmanager.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index e91585008d00..5e51f00faf77 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -336,8 +336,7 @@ 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();
+ delete m_pToolBar;
m_pToolBar = 0;
}