summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/slideview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/slideview.cxx')
-rw-r--r--slideshow/source/engine/slideview.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/slideshow/source/engine/slideview.cxx b/slideshow/source/engine/slideview.cxx
index 04170a72cc1b..f699ce1e711d 100644
--- a/slideshow/source/engine/slideview.cxx
+++ b/slideshow/source/engine/slideview.cxx
@@ -53,7 +53,6 @@
#include <com/sun/star/presentation/XSlideShow.hpp>
#include <boost/noncopyable.hpp>
-#include <boost/bind.hpp>
#include <boost/weak_ptr.hpp>
#include <vector>
@@ -1087,10 +1086,7 @@ void SlideView::modified( const lang::EventObject& /*aEvent*/ )
// notify view change. Don't call EventMultiplexer directly, this
// might not be the main thread!
mrEventQueue.addEvent(
- makeEvent( boost::bind( (bool (EventMultiplexer::*)(
- const uno::Reference<presentation::XSlideShowView>&))
- &EventMultiplexer::notifyViewChanged,
- boost::ref(mrEventMultiplexer), mxView ),
+ makeEvent( [this] () { this->mrEventMultiplexer.notifyViewChanged(this->mxView); },
"EventMultiplexer::notifyViewChanged"));
}
@@ -1105,8 +1101,7 @@ void SlideView::windowPaint( const awt::PaintEvent& /*e*/ )
// notify view clobbering. Don't call EventMultiplexer directly,
// this might not be the main thread!
mrEventQueue.addEvent(
- makeEvent( boost::bind( &EventMultiplexer::notifyViewClobbered,
- boost::ref(mrEventMultiplexer), mxView ),
+ makeEvent( [this] () { this->mrEventMultiplexer.notifyViewClobbered(this->mxView); },
"EventMultiplexer::notifyViewClobbered") );
}