From 0c770cb000ec05eb522b928dbf975ebe8324c480 Mon Sep 17 00:00:00 2001 From: thb Date: Fri, 22 Jan 2010 14:17:52 +0100 Subject: [PATCH] #i10000# help msvc to find the right one of an overloaded func --- canvas/source/directx/dx_canvashelper_texturefill.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);