From 507c30b0f2ad0a584b36361662a8790fc33f52da Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 9 Dec 2014 14:31:32 +0000 Subject: 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 --- sc/source/ui/app/scmod.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sc') 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; -- cgit