sw/source/uibase/docvw/SidebarWin.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 529bb272e296c7f41416d9392787bc2cdf5fe362
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Thu Aug 7 13:53:13 2014 +0200

    RemoveEventListener on self again
    
    ...as otherwise base class ~Window would call into WindowEventListener with
    this no longer a SwSidebarWin.
    
    Change-Id: Icfe942eef9a0adb58a59397b4f41514e0c696543

diff --git a/sw/source/uibase/docvw/SidebarWin.cxx 
b/sw/source/uibase/docvw/SidebarWin.cxx
index 7f57460..a284a79 100644
--- a/sw/source/uibase/docvw/SidebarWin.cxx
+++ b/sw/source/uibase/docvw/SidebarWin.cxx
@@ -185,6 +185,8 @@ SwSidebarWin::~SwSidebarWin()
         mpVScrollbar = 0;
     }
 
+    RemoveEventListener( LINK( this, SwSidebarWin, WindowEventListener ) );
+
     AnchorOverlayObject::DestroyAnchorOverlayObject( mpAnchor );
     mpAnchor = NULL;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to