diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-09 14:31:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-09 14:34:37 +0000 |
commit | 507c30b0f2ad0a584b36361662a8790fc33f52da (patch) | |
tree | 5a50876a9149761d3d0503f027b06ff608c5e551 | |
parent | 85b184e235d878ae109a0d37a861c3178f6c97e4 (diff) |
WaE: set but not used
since
commit 19b7dc3b1ef8b77d509f46dca96fb0f797abe38c
Date: Wed Nov 5 09:08:02 2014 +0000
changed timers to idles
I'll try and keep the apparent original code intent
to have a shorter time out if there is known
pending work, but that there is much difference
between VCL_IDLE_PRIORITY_LOW of 100 and VCL_IDLE_PRIORITY_LOWEST of
400 in comparison with the original SC_IDLE_MAX of 3000
Change-Id: If87743e24380b6840c67580f246a5e698b6f31a1
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 09cca3b27130..bfb85ca4bf91 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -1905,7 +1905,10 @@ IMPL_LINK_NOARG(ScModule, IdleHandler) } } - aIdle.SetPriority(VCL_IDLE_PRIORITY_LOWEST); + if (bMore) + aIdle.SetPriority(VCL_IDLE_PRIORITY_LOW); + else + aIdle.SetPriority(VCL_IDLE_PRIORITY_LOWEST); aIdle.Start(); return 0; |