summaryrefslogtreecommitdiff
path: root/basegfx/source/curve/b2dbeziertools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/curve/b2dbeziertools.cxx')
-rw-r--r--basegfx/source/curve/b2dbeziertools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/curve/b2dbeziertools.cxx b/basegfx/source/curve/b2dbeziertools.cxx
index f115819ad02f..c24ba4215a2e 100644
--- a/basegfx/source/curve/b2dbeziertools.cxx
+++ b/basegfx/source/curve/b2dbeziertools.cxx
@@ -52,7 +52,7 @@ namespace basegfx
for(sal_uInt32 a(1);;)
{
- const B2DPoint aNext(rBase.interpolatePoint((double)a / (double)mnEdgeCount));
+ const B2DPoint aNext(rBase.interpolatePoint(static_cast<double>(a) / static_cast<double>(mnEdgeCount)));
const B2DVector aEdge(aNext - aCurrent);
fLength += aEdge.getLength();