summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Thuswaldner <albert.thuswaldner@gmail.com>2015-09-08 19:57:48 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-09 08:11:14 +0000
commit083c865f9af70a12dfed52b07785e303eb61b397 (patch)
tree367c62e08c6dc3ac2ad090ac26570cf3ce1da3f4
parentbe73c1602dbe4d0f09d0e9c4853ec89df3eb37ad (diff)
tdf#93243 replace boost::bind with C++11 lambdas in drawsh2.cxx
Change-Id: Id9098c07d7aff62adb26165611a545efcfe87a34 Reviewed-on: https://gerrit.libreoffice.org/18419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--sc/source/ui/drawfunc/drawsh2.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx
index e01639d9899c..d582b3a9778e 100644
--- a/sc/source/ui/drawfunc/drawsh2.cxx
+++ b/sc/source/ui/drawfunc/drawsh2.cxx
@@ -50,15 +50,13 @@
#include <svx/svdoole2.hxx>
#include <svx/svdocapt.hxx>
-#include <boost/bind.hpp>
-
using namespace com::sun::star;
ScDrawShell::ScDrawShell( ScViewData* pData ) :
SfxShell(pData->GetViewShell()),
pViewData( pData ),
mpSelectionChangeHandler(new svx::sidebar::SelectionChangeHandler(
- ::boost::bind(&ScDrawShell::GetSidebarContextName, this),
+ [this] () { return this->GetSidebarContextName(); },
GetFrame()->GetFrame().GetController(),
sfx2::sidebar::EnumContext::Context_Cell))
{