diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-09-03 16:24:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-09-03 20:18:54 +0200 |
commit | 8b7b7a2b2048127128cd4010b9c93bc50ac28951 (patch) | |
tree | 9fd8895dde577e558a868ec7fed60da2ec2d6ba4 /vcl/source/control/scrbar.cxx | |
parent | f2762465eb8ccbad74acf07afca3358a5ab3e1c1 (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/control/scrbar.cxx')
-rw-r--r-- | vcl/source/control/scrbar.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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(); } |