summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-31 18:28:55 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-31 21:24:24 +0200
commit7ee228a108d1e5d4ffa9121e0890e23982f8ecb5 (patch)
tree68579e33d23b0833bfed5ffe856eb156c7fd6003 /svtools
parent819fd24487aa120e6f0df1488d1afef7621252cb (diff)
svtools: replace boost::function with std::function
Change-Id: Ic60190814a19e03341de3678f35c4ac69624ca4c
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/filechangedchecker.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/svtools/source/misc/filechangedchecker.cxx b/svtools/source/misc/filechangedchecker.cxx
index ea35296baa9c..2f2434d8b459 100644
--- a/svtools/source/misc/filechangedchecker.cxx
+++ b/svtools/source/misc/filechangedchecker.cxx
@@ -11,11 +11,12 @@
#include <svtools/filechangedchecker.hxx>
-FileChangedChecker::FileChangedChecker(const OUString& rFilename, const ::boost::function0<void>& rCallback) :
- mIdle(),
- mFileName(rFilename),
- mLastModTime(),
- mpCallback(rCallback)
+FileChangedChecker::FileChangedChecker(const OUString& rFilename,
+ const ::std::function<void ()>& rCallback)
+ : mIdle()
+ , mFileName(rFilename)
+ , mLastModTime()
+ , mpCallback(rCallback)
{
// Get the curren last file modified Status
getCurrentModTime(mLastModTime);