From 15a7ae3e8008ef7dbafdcb4b7604cac1fe1f9061 Mon Sep 17 00:00:00 2001 From: Zsolt Bölöny Date: Mon, 18 May 2015 23:50:47 +0200 Subject: That was totally pointless Change-Id: I6046461b2e26a8506249c4a2fdd783bbd2ec223f Reviewed-on: https://gerrit.libreoffice.org/15810 Reviewed-by: Adolfo Jayme Barrientos Tested-by: Adolfo Jayme Barrientos --- basegfx/source/polygon/b3dpolygontools.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'basegfx') 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; } -- cgit