[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Thu Aug 7 04:54:54 PDT 2014


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

New commits:
commit 529bb272e296c7f41416d9392787bc2cdf5fe362
Author: Stephan Bergmann <sbergman at 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;
 


More information about the Libreoffice-commits mailing list