summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-06-15 20:46:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-06-15 20:50:25 +0100
commit4d18c1de112c1439ae4e41de7c19ffa449afea68 (patch)
treeed10e1d95b472d57b4923b95f64d1bc2f81d1659
parent68455c20cb5edf2bfc57243b44fc81b7fa5ea5db (diff)
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
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/sidebar/MasterPagesSelector.cxx b/sd/source/ui/sidebar/MasterPagesSelector.cxx
index 862de3972414..88491e0be134 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();
}