summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-25 16:04:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-25 16:04:06 +0100
commit652d1bf0c54661aee8b8a4b10bbdecff176fb62c (patch)
treec5ad66f26e30377f7eaeef6ef28dd4e27e45c40d
parent1e86dbf40d170a95ef2c58fbc6cbb26ea7133ad4 (diff)
dispose and clear DockableWindowListeners on ::dispose as well
-rw-r--r--toolkit/source/awt/vclxwindow.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index da4ccb559a..10ecfcf678 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -259,6 +259,7 @@ void VCLXWindowImpl::disposing()
::com::sun::star::lang::EventObject aEvent;
aEvent.Source = mrAntiImpl;
+ maDockableWindowListeners.disposeAndClear( aEvent );
maEventListeners.disposeAndClear( aEvent );
maFocusListeners.disposeAndClear( aEvent );
maWindowListeners.disposeAndClear( aEvent );