summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 15:28:41 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 15:28:41 +0000
commitbc835349c5f03247b92d02aa3c255eb52454dde3 (patch)
tree876eadc6dcf2d9ebfc10c6e98ac3a482575c0252
parent8c5d6c6a846cd1df489b6e5944df15741198c1db (diff)
INTEGRATION: CWS insight01 (1.27.108); FILE MERGED
2004/05/28 19:55:21 oj 1.27.108.2: RESYNC: (1.27-1.31); FILE MERGED 2004/02/23 14:47:04 oj 1.27.108.1: #111075# use the active connection from the given documentContext
-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);