From 11eed18fea97267cf75ea575e71fd60bd6f317f6 Mon Sep 17 00:00:00 2001 From: Tomofumi Yagi Date: Fri, 18 Sep 2020 16:21:43 +0900 Subject: tdf#134157 fix Edit with external tool causes a CPU hit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit f110c037114f90d219ac8d149542bf96fe66a2f1) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103055 Reviewed-by: Caolán McNamara Signed-off-by: Xisco Fauli Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103130 --- include/svtools/filechangedchecker.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 const mpCallback; -- cgit