| commit | dd8775dd0d89dac5bb239304efeafdbf515a8841 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Mon Aug 29 20:06:33 2022 +0100 |
| committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | Wed Aug 31 16:06:59 2022 +0200 |
| tree | bef0de42dc41cc2343bf6e5349e9af8b05302803 | |
| parent | 6dcaa2d812a1c9eb95398d46ff00eec616f0ff68 [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/+/138977 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
diff --git a/sw/source/uibase/docvw/PageBreakWin.cxx b/sw/source/uibase/docvw/PageBreakWin.cxx index 2db9b51..d0e0835 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 {