summaryrefslogtreecommitdiff
path: root/include
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-22 08:40:34 +0200
commitbd1345f9806b1bb9940d208d75610f7c4556f05d (patch)
tree95a3cca4795f5501762d1f863505b407354700bc /include
parent55505edc8eca0e4ba30f192e81ff18982b8e2f95 (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> (cherry picked from commit f110c037114f90d219ac8d149542bf96fe66a2f1) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103055 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103130
Diffstat (limited to 'include')
-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 ec8d8a41fdac..a1c2fcb38eaa 100644
--- a/include/svtools/filechangedchecker.hxx
+++ b/include/svtools/filechangedchecker.hxx
@@ -28,7 +28,7 @@ class Timer;
class SVT_DLLPUBLIC FileChangedChecker
{
private:
- Idle mIdle;
+ Timer mTimer;
OUString const mFileName;
TimeValue mLastModTime;
::std::function<void ()> const mpCallback;