summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-09 10:57:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-10 06:52:26 +0000
commitee0e713b5333dd363e443bf471ecb5cecec09d17 (patch)
tree481a53fcbd72e822ad64d3c83309d1c0d6f5be75 /canvas
parent5c2c2d8dc4449c9d4ac9d645f634772ba93373af (diff)
make comphelper::sequenceToContainer a little smarter
so we don't have to specify the source type Change-Id: I4106705a39874a8043f0f294a11374404d6cfc3a Reviewed-on: https://gerrit.libreoffice.org/30713 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_canvashelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_canvashelper.cxx b/canvas/source/directx/dx_canvashelper.cxx
index c319239808b8..94b9c322b5ea 100644
--- a/canvas/source/directx/dx_canvashelper.cxx
+++ b/canvas/source/directx/dx_canvashelper.cxx
@@ -359,7 +359,7 @@ namespace dxcanvas
aPen.SetMiterLimit( static_cast< Gdiplus::REAL >(strokeAttributes.MiterLimit) );
const ::std::vector< Gdiplus::REAL >& rDashArray(
- ::comphelper::sequenceToContainer< ::std::vector< Gdiplus::REAL > >(
+ ::comphelper::sequenceToContainer< ::std::vector< Gdiplus::REAL >, double >(
strokeAttributes.DashArray ) );
if( !rDashArray.empty() )
{