summaryrefslogtreecommitdiff
path: root/canvas/source/directx/dx_canvashelper_texturefill.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/directx/dx_canvashelper_texturefill.cxx')
-rw-r--r--canvas/source/directx/dx_canvashelper_texturefill.cxx6
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);