summaryrefslogtreecommitdiff
path: root/svtools/source/misc/filechangedchecker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/misc/filechangedchecker.cxx')
-rw-r--r--svtools/source/misc/filechangedchecker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/misc/filechangedchecker.cxx b/svtools/source/misc/filechangedchecker.cxx
index f696b8621f3b..daca97fb1d30 100644
--- a/svtools/source/misc/filechangedchecker.cxx
+++ b/svtools/source/misc/filechangedchecker.cxx
@@ -22,7 +22,7 @@ FileChangedChecker::FileChangedChecker(const OUString& rFilename,
getCurrentModTime(mLastModTime);
// associate the callback function for the Idle
- mIdle.SetIdleHdl(LINK(this, FileChangedChecker, TimerHandler));
+ mIdle.SetInvokeHandler(LINK(this, FileChangedChecker, TimerHandler));
//start the timer
resetTimer();
@@ -76,7 +76,7 @@ bool FileChangedChecker::hasFileChanged()
return false;
}
-IMPL_LINK_NOARG(FileChangedChecker, TimerHandler, Idle *, void)
+IMPL_LINK_NOARG(FileChangedChecker, TimerHandler, Timer *, void)
{
// If the file has changed, then update the graphic in the doc
SAL_INFO("svtools", "Timeout Called");