diff options
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/curve/b2dcubicbezier.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/curve/b2dcubicbezier.cxx b/basegfx/source/curve/b2dcubicbezier.cxx index 6533752fa38b..a331e0ed6431 100644 --- a/basegfx/source/curve/b2dcubicbezier.cxx +++ b/basegfx/source/curve/b2dcubicbezier.cxx @@ -133,8 +133,8 @@ namespace basegfx if(!bBaseEqualZero) { - const bool bLeftParallel(bLeftEqualZero ? true : areParallel(aLeft, aBase)); - const bool bRightParallel(bRightEqualZero ? true : areParallel(aRight, aBase)); + const bool bLeftParallel(bLeftEqualZero || areParallel(aLeft, aBase)); + const bool bRightParallel(bRightEqualZero || areParallel(aRight, aBase)); if(bLeftParallel && bRightParallel) { |