summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forms/source/component/Grid.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx
index 376a37199725..da28b85fdf61 100644
--- a/forms/source/component/Grid.cxx
+++ b/forms/source/component/Grid.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Grid.cxx,v $
*
- * $Revision: 1.31 $
+ * $Revision: 1.32 $
*
- * last change: $Author: hr $ $Date: 2004-05-10 12:45:31 $
+ * last change: $Author: hr $ $Date: 2004-08-02 16:28:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -348,6 +348,8 @@ void OGridControlModel::disposing()
OErrorBroadcaster::disposing();
OInterfaceContainer::disposing();
+ setParent(NULL);
+
EventObject aEvt(static_cast<XWeak*>(this));
m_aSelectListeners.disposeAndClear(aEvt);
m_aResetListeners.disposeAndClear(aEvt);