Kaydet (Commit) 083c865f authored tarafından Albert Thuswaldner's avatar Albert Thuswaldner Kaydeden (comit) Noel Grandin

tdf#93243 replace boost::bind with C++11 lambdas in drawsh2.cxx

Change-Id: Id9098c07d7aff62adb26165611a545efcfe87a34
Reviewed-on: https://gerrit.libreoffice.org/18419Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst be73c160
...@@ -50,15 +50,13 @@ ...@@ -50,15 +50,13 @@
#include <svx/svdoole2.hxx> #include <svx/svdoole2.hxx>
#include <svx/svdocapt.hxx> #include <svx/svdocapt.hxx>
#include <boost/bind.hpp>
using namespace com::sun::star; using namespace com::sun::star;
ScDrawShell::ScDrawShell( ScViewData* pData ) : ScDrawShell::ScDrawShell( ScViewData* pData ) :
SfxShell(pData->GetViewShell()), SfxShell(pData->GetViewShell()),
pViewData( pData ), pViewData( pData ),
mpSelectionChangeHandler(new svx::sidebar::SelectionChangeHandler( mpSelectionChangeHandler(new svx::sidebar::SelectionChangeHandler(
::boost::bind(&ScDrawShell::GetSidebarContextName, this), [this] () { return this->GetSidebarContextName(); },
GetFrame()->GetFrame().GetController(), GetFrame()->GetFrame().GetController(),
sfx2::sidebar::EnumContext::Context_Cell)) sfx2::sidebar::EnumContext::Context_Cell))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment