summaryrefslogtreecommitdiff
path: root/toolkit
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
commitdcde886e4e0142a70f6402b81c80fb150e7393d4 (patch)
tree1572e680843050a03c81a75c6f62095691a367a3 /toolkit
parent4a56954e39111be53cac8dd82717f2d7a6a5b75e (diff)
dispose and clear DockableWindowListeners on ::dispose as well
Diffstat (limited to 'toolkit')
-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 4db3a3fde38e..def82b41ee9b 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 );