[Libreoffice-commits] core.git: sc/source
Caolán McNamara
caolanm at redhat.com
Tue Dec 9 06:35:06 PST 2014
sc/source/ui/app/scmod.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 507c30b0f2ad0a584b36361662a8790fc33f52da
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Dec 9 14:31:32 2014 +0000
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
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 09cca3b..bfb85ca 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;
More information about the Libreoffice-commits
mailing list