diff options
author | Mario J. Rugiero <mrugiero@gmail.com> | 2015-10-31 00:47:15 -0300 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-31 12:53:08 +0000 |
commit | bd332c2a335b34e209fe2b7fdfb669c855325636 (patch) | |
tree | 62502cc5de0449ffa15e307b16cbb94b565d84a8 /canvas/source/directx/dx_canvashelper_texturefill.cxx | |
parent | 258e48d6d9c0d2ea9621b248239c0e1708a85cda (diff) |
Replace boost::bind by lambdas in canvas/source/directx tree.
Change-Id: I1622f563b921a03234b9cb02de7c8abd00444129
Reviewed-on: https://gerrit.libreoffice.org/19703
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'canvas/source/directx/dx_canvashelper_texturefill.cxx')
-rw-r--r-- | canvas/source/directx/dx_canvashelper_texturefill.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/canvas/source/directx/dx_canvashelper_texturefill.cxx b/canvas/source/directx/dx_canvashelper_texturefill.cxx index c2e0c96ecc45..3d5f893a29cf 100644 --- a/canvas/source/directx/dx_canvashelper_texturefill.cxx +++ b/canvas/source/directx/dx_canvashelper_texturefill.cxx @@ -19,7 +19,6 @@ #include <sal/config.h> -#include <boost/bind.hpp> #include <boost/tuple/tuple.hpp> #include <basegfx/matrix/b2dhommatrix.hxx> @@ -576,10 +575,7 @@ namespace dxcanvas std::transform(&rValues.maColors[0], &rValues.maColors[0]+rValues.maColors.getLength(), aColors.begin(), - boost::bind( - (Gdiplus::ARGB (*)( const uno::Sequence< double >& ))( - &tools::sequenceToArgb), - _1)); + [](const uno::Sequence< double >& aDoubleSequence) { return tools::sequenceToArgb(aDoubleSequence); } ); std::vector< Gdiplus::REAL > aStops; comphelper::sequenceToContainer(aStops,rValues.maStops); |