diff options
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b3dpolygontools.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basegfx/source/polygon/b3dpolygontools.cxx b/basegfx/source/polygon/b3dpolygontools.cxx index 1ca3820d5f6e..10e35813fffa 100644 --- a/basegfx/source/polygon/b3dpolygontools.cxx +++ b/basegfx/source/polygon/b3dpolygontools.cxx @@ -642,8 +642,6 @@ namespace basegfx if(areParallel(aEdgeVector, aTestVector)) { - const double fZero(0.0); - const double fOne(1.0); double fParamTestOnCurr(0.0); if(aEdgeVector.getX() > aEdgeVector.getY()) @@ -673,7 +671,7 @@ namespace basegfx } } - if(fTools::more(fParamTestOnCurr, fZero) && fTools::less(fParamTestOnCurr, fOne)) + if(fTools::more(fParamTestOnCurr, 0.0) && fTools::less(fParamTestOnCurr, 1.0)) { return true; } |