diff options
Diffstat (limited to 'basegfx/source')
-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 58d1f1e14f7a..d1e98c980f8e 100644 --- a/basegfx/source/curve/b2dbeziertools.cxx +++ b/basegfx/source/curve/b2dbeziertools.cxx @@ -64,7 +64,7 @@ namespace basegfx } else { - const B2DPoint aLastNext(rBase.getEndPoint()); + const B2DPoint& aLastNext(rBase.getEndPoint()); const B2DVector aLastEdge(aLastNext - aNext); fLength += aLastEdge.getLength(); |