summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2021-06-29 14:31:19 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-06-29 16:43:55 +0200
commit3d7007ef8784e92bb56a91c40e7bdff812251677 (patch)
tree5e8ad52ee336e6b5375fd7dc8bede77d5fb96c52
parente529461bcb126e0975ffa3f86e1fd5a630551de2 (diff)
maShowPageBreaksTimer.Stop() in ScGridWindow::dispose(), tdf#124983 follow-up
Stop this timer when the ScGridWindow is to be deleted, together with the underlying document. See https://gerrit.libreoffice.org/c/core/+/90101 comments from Miklos Vajna on 2021-06-29 14:08/14:10 CEST Change-Id: Ia1f39c406d391abd78a57c1d92616dbff788ec63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118112 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
-rw-r--r--sc/source/ui/view/gridwin.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index ec90a6bac1bb..ab05a86fa01a 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -437,6 +437,8 @@ ScGridWindow::~ScGridWindow()
void ScGridWindow::dispose()
{
+ maShowPageBreaksTimer.Stop();
+
ImpDestroyOverlayObjects();
mpFilterBox.reset();