summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/waitsymbol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/waitsymbol.cxx')
-rw-r--r--slideshow/source/engine/waitsymbol.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/slideshow/source/engine/waitsymbol.cxx b/slideshow/source/engine/waitsymbol.cxx
index ab3dbbf29eb7..48da4c702c9c 100644
--- a/slideshow/source/engine/waitsymbol.cxx
+++ b/slideshow/source/engine/waitsymbol.cxx
@@ -67,8 +67,10 @@ WaitSymbol::WaitSymbol( uno::Reference<rendering::XBitmap> const & xBitmap,
mrScreenUpdater( rScreenUpdater ),
mbVisible(false)
{
- for( const auto& pView : rViewContainer )
- this->viewAdded( pView );
+ std::for_each( rViewContainer.begin(),
+ rViewContainer.end(),
+ [this]( const UnoViewSharedPtr& sp )
+ { this->viewAdded(sp); } );
}
void WaitSymbol::setVisible( const bool bVisible )