| commit | 3d98211d5eeb2476770f2b17b0ebedf72bd52ffb | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Mon Aug 29 20:06:33 2022 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Mon Sep 05 17:34:25 2022 +0200 |
| tree | c25024be1903cb4d71ae8ea7e41a19e25e861ce0 | |
| parent | 0fd7c3d15cbd9829c1f94b0a81029de04d04e6dc [diff] |
Resolves: tdf#150629 the window was destroyed from the fadetimer callback which is how it could be possible that SwPageBreakWin::dispose() could be both called, stopping the timer, but the timer callback could access the disposed SwPageBreakWin Change-Id: If29ffb45fbde607d35c12064b05e4b5d25c2f009 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138978 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sw/source/uibase/docvw/PageBreakWin.cxx b/sw/source/uibase/docvw/PageBreakWin.cxx index fe68dd1..600d23a 100644 --- a/sw/source/uibase/docvw/PageBreakWin.cxx +++ b/sw/source/uibase/docvw/PageBreakWin.cxx
@@ -486,6 +486,7 @@ IMPL_LINK_NOARG(SwPageBreakWin, FadeHandler, Timer *, void) { Hide(); m_pLine->DestroyWin(); return; } else {