summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorTomofumi Yagi <yagitmknada@gmail.com>2020-09-18 16:21:43 +0900
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-19 08:51:14 +0200
commitf110c037114f90d219ac8d149542bf96fe66a2f1 (patch)
treecece3f106e73c16fee22b9a3865db76367f15bf5 /include/svtools
parentf8474367449a1b6b54918d2753e3a36798761839 (diff)
tdf#134157 fix Edit with external tool causes a CPU hit
Switch Idle to 100ms Timer for fixing the bug Change-Id: I85a9bdcb173edd28d952d8e91c1b93d748e69206 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102984 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/filechangedchecker.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/filechangedchecker.hxx b/include/svtools/filechangedchecker.hxx
index 3b7f817f3035..016fe9279800 100644
--- a/include/svtools/filechangedchecker.hxx
+++ b/include/svtools/filechangedchecker.hxx
@@ -29,7 +29,7 @@ class Timer;
class UNLESS_MERGELIBS(SVT_DLLPUBLIC) FileChangedChecker
{
private:
- Idle mIdle;
+ Timer mTimer;
OUString mFileName;
TimeValue mLastModTime;
::std::function<void ()> mpCallback;