diff options
Diffstat (limited to 'basegfx/source/curve/b2dcubicbezier.cxx')
-rw-r--r-- | basegfx/source/curve/b2dcubicbezier.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/basegfx/source/curve/b2dcubicbezier.cxx b/basegfx/source/curve/b2dcubicbezier.cxx index ca4aa090625f..72fabc476327 100644 --- a/basegfx/source/curve/b2dcubicbezier.cxx +++ b/basegfx/source/curve/b2dcubicbezier.cxx @@ -395,12 +395,7 @@ namespace basegfx // test if vectors are used bool B2DCubicBezier::isBezier() const { - if(maControlPointA != maStartPoint || maControlPointB != maEndPoint) - { - return true; - } - - return false; + return maControlPointA != maStartPoint || maControlPointB != maEndPoint; } void B2DCubicBezier::testAndSolveTrivialBezier() |