summaryrefslogtreecommitdiffstats
path: root/sdext/source/presenter/PresenterTimer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterTimer.hxx')
-rw-r--r--sdext/source/presenter/PresenterTimer.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterTimer.hxx b/sdext/source/presenter/PresenterTimer.hxx
index 8e37a8b2a7fe..e7bd6164f615 100644
--- a/sdext/source/presenter/PresenterTimer.hxx
+++ b/sdext/source/presenter/PresenterTimer.hxx
@@ -28,7 +28,10 @@
#include <osl/time.h>
#include <rtl/ref.hxx>
#include <sal/types.h>
-#include <boost/function.hpp>
+
+#include <boost/shared_ptr.hpp>
+
+#include <functional>
#include <vector>
namespace com { namespace sun { namespace star { namespace uno {
@@ -45,7 +48,7 @@ class PresenterTimer
public:
/** A task is called with the current time.
*/
- typedef ::boost::function<void(const TimeValue&)> Task;
+ typedef ::std::function<void (const TimeValue&)> Task;
static const sal_Int32 NotAValidTaskId = 0;