chart2/source/controller/main/ChartController.cxx | 4 +--- chart2/source/view/main/ChartView.cxx | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-)
New commits: commit 13938d6de871e1ee603633f8ce3973298876225e Author: Mario J. Rugiero <mrugi...@gmail.com> Date: Mon Oct 26 11:56:29 2015 -0300 Replace boost::bind by lambdas in chart2 tree. Change-Id: Ida56649f15b58b3b11b3d43c5017fd5ebd9a2cf1 Reviewed-on: https://gerrit.libreoffice.org/19606 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noelgran...@gmail.com> diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 72fea5f..c002ef8 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -76,8 +76,6 @@ #include <com/sun/star/frame/XLayoutManager.hpp> #include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> -#include <boost/bind.hpp> - // this is needed to properly destroy the unique_ptr to the AcceleratorExecute // object in the DTOR #include <svtools/acceleratorexecute.hxx> @@ -120,7 +118,7 @@ ChartController::ChartController(uno::Reference<uno::XComponentContext> const & m_aDispatchContainer( m_xCC, this ), m_eDrawMode( CHARTDRAW_SELECT ), mpSelectionChangeHandler(new svx::sidebar::SelectionChangeHandler( - ::boost::bind(&ChartController::GetContextName, this), + [this]() { return this->GetContextName(); }, this, sfx2::sidebar::EnumContext::Context_Cell)) { m_aDoubleClickTimer.SetTimeoutHdl( LINK( this, ChartController, DoubleClickWaitingHdl ) ); diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 969b0ee..333f3c6 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -58,7 +58,6 @@ #include <comphelper/scopeguard.hxx> #include <comphelper/servicehelper.hxx> #include <cppuhelper/supportsservice.hxx> -#include <boost/bind.hpp> #include <unotools/streamwrap.hxx> #include <unotools/localedatawrapper.hxx> #include <svx/charthelper.hxx> @@ -2625,7 +2624,7 @@ void ChartView::createShapes() } //make sure add-in is refreshed after creating the shapes - const ::comphelper::ScopeGuard aGuard( boost::bind( &ChartView::impl_refreshAddIn, this ) ); + const ::comphelper::ScopeGuard aGuard( [this]() { this->impl_refreshAddIn(); } ); m_aResultingDiagramRectangleExcludingAxes = awt::Rectangle(0,0,0,0); impl_deleteCoordinateSystems(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits