summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/slide/shapemanagerimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/slide/shapemanagerimpl.cxx')
-rw-r--r--slideshow/source/engine/slide/shapemanagerimpl.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/slideshow/source/engine/slide/shapemanagerimpl.cxx b/slideshow/source/engine/slide/shapemanagerimpl.cxx
index 796f1ce34124..a74253f647d4 100644
--- a/slideshow/source/engine/slide/shapemanagerimpl.cxx
+++ b/slideshow/source/engine/slide/shapemanagerimpl.cxx
@@ -66,15 +66,13 @@ void ShapeManagerImpl::activate( bool bSlideBackgoundPainted )
uno::Reference<presentation::XShapeEventListener> xDummyListener;
std::for_each( mrGlobalListenersMap.begin(),
mrGlobalListenersMap.end(),
- [&xDummyListener, this]( const ::std::pair< ShapeEventListenerMap::key_type,
- ShapeEventListenerMap::mapped_type >& cp )
+ [&xDummyListener, this]( const ShapeEventListenerMap::value_type& cp )
{ this->listenerAdded(xDummyListener, cp.first); } );
// clone cursor map
std::for_each( mrGlobalCursorMap.begin(),
mrGlobalCursorMap.end(),
- [this]( const ::std::pair< ShapeCursorMap::key_type,
- ShapeCursorMap::mapped_type >& cp )
+ [this]( const ShapeCursorMap::value_type& cp )
{ this->cursorChanged(cp.first, cp.second); } );
if( mpLayerManager )