diff options
Diffstat (limited to 'canvas')
-rwxr-xr-x | canvas/source/directx/dx_canvashelper_texturefill.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_canvashelper_texturefill.cxx b/canvas/source/directx/dx_canvashelper_texturefill.cxx index 2d5046146c28..453569298004 100755 --- a/canvas/source/directx/dx_canvashelper_texturefill.cxx +++ b/canvas/source/directx/dx_canvashelper_texturefill.cxx @@ -589,7 +589,8 @@ namespace dxcanvas &rValues.maColors[0]+rValues.maColors.getLength(), aColors.begin(), boost::bind( - &tools::sequenceToArgb, + (Gdiplus::ARGB (*)( const uno::Sequence< double >& ))( + &tools::sequenceToArgb), _1)); std::vector< Gdiplus::REAL > aStops; comphelper::sequenceToContainer(aStops,rValues.maStops); |