[Libreoffice-commits] core.git: sc/source

Albert Thuswaldner albert.thuswaldner at gmail.com
Wed Sep 9 01:11:36 PDT 2015


 sc/source/ui/drawfunc/drawsh2.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 083c865f9af70a12dfed52b07785e303eb61b397
Author: Albert Thuswaldner <albert.thuswaldner at gmail.com>
Date:   Tue Sep 8 19:57:48 2015 +0200

    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 at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx
index e01639d..d582b3a 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))
 {


More information about the Libreoffice-commits mailing list