summaryrefslogtreecommitdiff
path: root/linguistic/source
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source')
-rw-r--r--linguistic/source/lngsvcmgr.cxx6
-rw-r--r--linguistic/source/lngsvcmgr.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index 32a417ac8156..c36555b3fe5b 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -476,8 +476,8 @@ LngSvcMgr::LngSvcMgr()
UpdateAll();
- aUpdateTimer.SetTimeout(500);
- aUpdateTimer.SetTimeoutHdl(LINK(this, LngSvcMgr, updateAndBroadcast));
+ aUpdateIdle.SetPriority(VCL_IDLE_PRIORITY_LOWEST);
+ aUpdateIdle.SetIdleHdl(LINK(this, LngSvcMgr, updateAndBroadcast));
// request to be notified if an extension has been added/removed
uno::Reference<uno::XComponentContext> xContext(comphelper::getProcessComponentContext());
@@ -513,7 +513,7 @@ void LngSvcMgr::modified(const lang::EventObject&)
clearSvcInfoArray(pAvailThesSvcs);
//schedule in an update to execute in the main thread
- aUpdateTimer.Start();
+ aUpdateIdle.Start();
}
//run update, and inform everyone that dictionaries (may) have changed, this
diff --git a/linguistic/source/lngsvcmgr.hxx b/linguistic/source/lngsvcmgr.hxx
index 1b0d66443fd4..c3046e85df6e 100644
--- a/linguistic/source/lngsvcmgr.hxx
+++ b/linguistic/source/lngsvcmgr.hxx
@@ -81,7 +81,7 @@ class LngSvcMgr :
com::sun::star::uno::Reference<
::com::sun::star::util::XModifyBroadcaster> xMB;
- Timer aUpdateTimer;
+ Idle aUpdateIdle;
com::sun::star::uno::Sequence<