sd/source/ui/sidebar/MasterPagesSelector.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 4d18c1de112c1439ae4e41de7c19ffa449afea68
Author: Caolán McNamara <[email protected]>
Date:   Wed Jun 15 20:46:19 2016 +0100

    crashreport: 644837b5-c445-4779-a75d-dd69fc2e3a6f
    
    This can be reproduced by switching to master slide sidebar in impress
    , use the mouse to wheel up and down and then go straight to clicking
    the window manager close button
    
    The dispose doesn't ultimately drop its reference to the document
    so keeps it open if the scroll-wheel previous event widget vclptr
    keeps the widget around
    
    Change-Id: Ic90bcadf2489094358737be7f522129bd555a1ba

diff --git a/sd/source/ui/sidebar/MasterPagesSelector.cxx 
b/sd/source/ui/sidebar/MasterPagesSelector.cxx
index 862de39..88491e0 100644
--- a/sd/source/ui/sidebar/MasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/MasterPagesSelector.cxx
@@ -112,6 +112,7 @@ void MasterPagesSelector::dispose()
 
     Link<MasterPageContainerChangeEvent&,void> aChangeListener 
(LINK(this,MasterPagesSelector,ContainerChangeListener));
     mpContainer->RemoveChangeListener(aChangeListener);
+    mpContainer.reset();
     PreviewValueSet::dispose();
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to