diff options
author | Tomofumi Yagi <yagitmknada@gmail.com> | 2020-09-18 16:21:43 +0900 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-09-24 13:12:32 +0200 |
commit | 11eed18fea97267cf75ea575e71fd60bd6f317f6 (patch) | |
tree | 070decbe628b3c4217b388670834bdb1ca0c72ee /include | |
parent | 83a5e33afaedb15a919fe6cc9f1866f3745dd114 (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.hxx | 2 |
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; |