summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx')
-rw-r--r--slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx b/slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx
index cced9fa3f83f..683fe7bd9707 100644
--- a/slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx
+++ b/slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx
@@ -34,11 +34,11 @@
#include <canvas/debug.hxx>
#include <canvas/verbosetrace.hxx>
+#include "delayevent.hxx"
#include "eventqueue.hxx"
#include "usereventqueue.hxx"
#include "sequentialtimecontainer.hxx"
#include "tools.hxx"
-#include "delayevent.hxx"
#include <boost/bind.hpp>
#include <algorithm>
@@ -63,7 +63,7 @@ void SequentialTimeContainer::activate_st()
{
// deactivate ASAP:
scheduleDeactivationEvent(
- makeEvent( boost::bind( &AnimationNode::deactivate, getSelf() ) ) );
+ makeEvent( boost::bind< void >( boost::mem_fn( &AnimationNode::deactivate ), getSelf() ) ) );
}
else // use default
scheduleDeactivationEvent();
@@ -89,7 +89,7 @@ void SequentialTimeContainer::skipEffect(
// empty all events ignoring timings => until next effect
getContext().mrEventQueue.forceEmpty();
getContext().mrEventQueue.addEventForNextRound(
- makeEvent( boost::bind(&AnimationNode::deactivate, pChildNode) ) );
+ makeEvent( boost::bind<void>( boost::mem_fn( &AnimationNode::deactivate ), pChildNode ) ) );
}
else
OSL_ENSURE( false, "unknown notifier!" );