summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/ObjectCatalog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/ObjectCatalog.cxx')
-rw-r--r--basctl/source/basicide/ObjectCatalog.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/basicide/ObjectCatalog.cxx b/basctl/source/basicide/ObjectCatalog.cxx
index 5ad7913ae139..89b3f4e2b824 100644
--- a/basctl/source/basicide/ObjectCatalog.cxx
+++ b/basctl/source/basicide/ObjectCatalog.cxx
@@ -54,8 +54,7 @@ ObjectCatalog::~ObjectCatalog() { disposeOnce(); }
void ObjectCatalog::dispose()
{
- if (!IsDisposed())
- GetParent()->GetSystemWindow()->GetTaskPaneList()->RemoveWindow(this);
+ GetParent()->GetSystemWindow()->GetTaskPaneList()->RemoveWindow(this);
m_xTitle.reset();
m_xTree.reset();
DockingWindow::dispose();