diff options
author | Mario J. Rugiero <mrugiero@gmail.com> | 2015-10-26 15:08:31 -0300 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-27 05:41:32 +0000 |
commit | 5491988d228ac253411ad64ad1267eb9bb65ad3f (patch) | |
tree | aeb052299de53ae6fbb09f8d8508295add828ec3 /cppcanvas | |
parent | Replace boost::bind by lambdas in chart2 tree. (diff) | |
download | core-5491988d228ac253411ad64ad1267eb9bb65ad3f.tar.gz core-5491988d228ac253411ad64ad1267eb9bb65ad3f.zip |
Replace boost::bind by lambdas in cppcanvas tree.
Change-Id: I2eba564ddd462a5aa9f96efda418927eb8b88eb7
Reviewed-on: https://gerrit.libreoffice.org/19611
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/textaction.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
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 <canvas/canvastools.hxx> #include <memory> -#include <boost/bind.hpp> #include <boost/noncopyable.hpp> #include "textaction.hxx" @@ -362,9 +361,7 @@ namespace cppcanvas ::std::transform( pOffsets + rSubset.mnSubsetBegin, pOffsets + rSubset.mnSubsetEnd, pAdaptedOffsets, - ::boost::bind( ::std::minus<double>(), - _1, - nMinPos ) ); + [nMinPos](double aPos) { return aPos - nMinPos; } ); o_rMinPos = nMinPos; o_rMaxPos = nMaxPos; |