| commit | 51da8b9e80ea38a726bdc518fc8f19d4f13f806b | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Mon Aug 29 20:06:33 2022 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Mon Aug 29 22:12:04 2022 +0200 |
| tree | 521168e154c577ee240f61d6e689e2e6ec73af01 | |
| parent | 591673d1637b25f83e01baccc321a83f10fc0ce7 [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/+/139011 Tested-by: Jenkins 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 7c3b50e..eb169c0 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 {