From 5491988d228ac253411ad64ad1267eb9bb65ad3f Mon Sep 17 00:00:00 2001 From: "Mario J. Rugiero" Date: Mon, 26 Oct 2015 15:08:31 -0300 Subject: Replace boost::bind by lambdas in cppcanvas tree. Change-Id: I2eba564ddd462a5aa9f96efda418927eb8b88eb7 Reviewed-on: https://gerrit.libreoffice.org/19611 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- cppcanvas/source/mtfrenderer/textaction.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cppcanvas') diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx index 41a53c48f815..01dc843b2834 100644 --- a/cppcanvas/source/mtfrenderer/textaction.cxx +++ b/cppcanvas/source/mtfrenderer/textaction.cxx @@ -41,7 +41,6 @@ #include #include -#include #include #include "textaction.hxx" @@ -362,9 +361,7 @@ namespace cppcanvas ::std::transform( pOffsets + rSubset.mnSubsetBegin, pOffsets + rSubset.mnSubsetEnd, pAdaptedOffsets, - ::boost::bind( ::std::minus(), - _1, - nMinPos ) ); + [nMinPos](double aPos) { return aPos - nMinPos; } ); o_rMinPos = nMinPos; o_rMaxPos = nMaxPos; -- cgit