summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterBitmapContainer.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-05-11 13:48:42 +0200
committerMichael Stahl <mstahl@redhat.com>2016-05-11 19:21:49 +0000
commitc7325f39031cb5c968c88c4efc6f58c0df8e01c7 (patch)
tree5137cb89949674bbb575d12066fe08193bfcdb35 /sdext/source/presenter/PresenterBitmapContainer.cxx
parenta5a71cea62ac3041006c5e9815ae2317999639ac (diff)
sdext: replace boost::bind with C++11 lambdas
Change-Id: I2a30e764b96530e21d5ff201b18f98d1cd334a6d Reviewed-on: https://gerrit.libreoffice.org/24888 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sdext/source/presenter/PresenterBitmapContainer.cxx')
-rw-r--r--sdext/source/presenter/PresenterBitmapContainer.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterBitmapContainer.cxx b/sdext/source/presenter/PresenterBitmapContainer.cxx
index b062f5e11a10..84ea7d47a0f4 100644
--- a/sdext/source/presenter/PresenterBitmapContainer.cxx
+++ b/sdext/source/presenter/PresenterBitmapContainer.cxx
@@ -26,7 +26,6 @@
#include <com/sun/star/rendering/CompositeOperation.hpp>
#include <com/sun/star/rendering/XIntegerBitmap.hpp>
#include <osl/diagnose.h>
-#include <boost/bind.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -129,7 +128,10 @@ void PresenterBitmapContainer::LoadBitmaps (
{
PresenterConfigurationAccess::ForAll(
rxBitmapList,
- ::boost::bind(&PresenterBitmapContainer::ProcessBitmap, this, _1, _2));
+ [this](OUString const& rKey, Reference<beans::XPropertySet> const& xProps)
+ {
+ this->ProcessBitmap(rKey, xProps);
+ });
}
}
catch (Exception&)