diff options
Diffstat (limited to 'basegfx/source/curve/b2dbeziertools.cxx')
-rw-r--r-- | basegfx/source/curve/b2dbeziertools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/curve/b2dbeziertools.cxx b/basegfx/source/curve/b2dbeziertools.cxx index ec6ef1c63213..f115819ad02f 100644 --- a/basegfx/source/curve/b2dbeziertools.cxx +++ b/basegfx/source/curve/b2dbeziertools.cxx @@ -97,7 +97,7 @@ namespace basegfx // fDistance is in ]0.0 .. fLength[ - if(1 == mnEdgeCount) + if(mnEdgeCount == 1) { // not a bezier, linear edge return fDistance / fLength; |