vcl/source/control/scrbar.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 8b7b7a2b2048127128cd4010b9c93bc50ac28951 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Sep 3 16:24:24 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Sep 3 20:18:54 2022 +0200 crashtesting: assert seen on loading forum-fr-40118.ods Change-Id: Ib84e07d0e22b30ac32eba21a849b2f7fd0739b86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139328 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx index 4d48140ac503..b64dc77a9013 100644 --- a/vcl/source/control/scrbar.cxx +++ b/vcl/source/control/scrbar.cxx @@ -1142,7 +1142,8 @@ void ScrollBar::GetFocus() } ImplInvert(); // react immediately mpData->maTimer.SetTimeout( GetSettings().GetStyleSettings().GetCursorBlinkTime() ); - mpData->maTimer.Start(); + if (mpData->maTimer.GetTimeout() != STYLE_CURSOR_NOBLINKTIME) + mpData->maTimer.Start(); Control::GetFocus(); }