summaryrefslogtreecommitdiff
path: root/framework/source/layoutmanager
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-02-04 12:32:17 +0100
committerMichael Stahl <mstahl@redhat.com>2016-02-04 14:25:11 +0000
commitf600e14561edf3ab35762a39a199ac6d03ab2706 (patch)
tree14181cf6712626ffee37a389114cec0519608dac /framework/source/layoutmanager
parent806d34981f480908645038f4cfc29ebcf25ca145 (diff)
framework: replace boost::bind with C++11 lambda or for loop
Change-Id: I3bee504b5a3dce7d89af77c8fcf2f9e24d5119ca Reviewed-on: https://gerrit.libreoffice.org/22105 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'framework/source/layoutmanager')
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
index 31b1912c53d1..ad51ba12cf99 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
@@ -43,7 +43,6 @@
#include <vcl/dockingarea.hxx>
#include <vcl/settings.hxx>
-#include <boost/bind.hpp>
using namespace ::com::sun::star;
@@ -1281,8 +1280,12 @@ void ToolbarLayoutManager::implts_createNonContextSensitiveToolBars()
}
if ( !aMakeVisibleToolbars.empty() )
- ::std::for_each( aMakeVisibleToolbars.begin(), aMakeVisibleToolbars.end(),
- ::boost::bind( &ToolbarLayoutManager::requestToolbar, this, _1));
+ {
+ for (auto const& rURL : aMakeVisibleToolbars)
+ {
+ this->requestToolbar(rURL);
+ }
+ }
}
void ToolbarLayoutManager::implts_createCustomToolBars( const uno::Sequence< uno::Sequence< beans::PropertyValue > >& aTbxSeqSeq )