summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/slide/userpaintoverlay.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/slide/userpaintoverlay.cxx')
-rw-r--r--slideshow/source/engine/slide/userpaintoverlay.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/slideshow/source/engine/slide/userpaintoverlay.cxx b/slideshow/source/engine/slide/userpaintoverlay.cxx
index 33899122264c..960794fbf1fa 100644
--- a/slideshow/source/engine/slide/userpaintoverlay.cxx
+++ b/slideshow/source/engine/slide/userpaintoverlay.cxx
@@ -36,7 +36,6 @@
#include "screenupdater.hxx"
#include "vieweventhandler.hxx"
-#include <boost/bind.hpp>
#include <boost/noncopyable.hpp>
#include "slide.hxx"
#include "cursormanager.hxx"
@@ -76,11 +75,9 @@ namespace slideshow
mnSize(100),
mbActive( bActive )
{
- std::for_each( rViews.begin(),
- rViews.end(),
- boost::bind( &PaintOverlayHandler::viewAdded,
- this,
- _1 ));
+ for( const auto& rView : rViews )
+ this->viewAdded( rView );
+
drawPolygons();
}