summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorZsolt Bölöny <bolony.zsolt@gmail.com>2015-05-18 23:50:47 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2015-05-19 19:38:14 +0000
commit15a7ae3e8008ef7dbafdcb4b7604cac1fe1f9061 (patch)
tree4738eefb1704a3f40402d7e55cf1d295e4d014c7 /basegfx
parenteb5850d63acfd3077a4c5c62d45dff48bc6a6137 (diff)
That was totally pointless
Change-Id: I6046461b2e26a8506249c4a2fdd783bbd2ec223f Reviewed-on: https://gerrit.libreoffice.org/15810 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b3dpolygontools.cxx4
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;
}