include/basegfx/tuple/b2dtuple.hxx |   14 --------------
 include/basegfx/tuple/b3dtuple.hxx |   17 -----------------
 2 files changed, 31 deletions(-)

New commits:
commit 374d53f5ee0204b17b76a1f447b041ce5479971d
Author: Zsolt Bölöny <bolony.zs...@gmail.com>
Date:   Mon May 18 20:39:06 2015 +0200

    Removed B{2,3}DTuple's custom treshold equal() and equalZero() methods
    
    Change-Id: I351b624c2282cbe9d37b32161eec574ce64c11be
    Reviewed-on: https://gerrit.libreoffice.org/15807
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Noel Grandin <noelgran...@gmail.com>

diff --git a/include/basegfx/tuple/b2dtuple.hxx 
b/include/basegfx/tuple/b2dtuple.hxx
index a00b57b..5659c7b 100644
--- a/include/basegfx/tuple/b2dtuple.hxx
+++ b/include/basegfx/tuple/b2dtuple.hxx
@@ -139,12 +139,6 @@ namespace basegfx
                     (fTools::equalZero(mfX) && fTools::equalZero(mfY)));
         }
 
-        bool equalZero(const double& rfSmallValue) const
-        {
-            return (this == &getEmptyTuple() ||
-                    (fTools::equalZero(mfX, rfSmallValue) && 
fTools::equalZero(mfY, rfSmallValue)));
-        }
-
         bool equal(const B2DTuple& rTup) const
         {
             return (
@@ -153,14 +147,6 @@ namespace basegfx
                 fTools::equal(mfY, rTup.mfY)));
         }
 
-        bool equal(const B2DTuple& rTup, const double& rfSmallValue) const
-        {
-            return (
-                this == &rTup ||
-                (fTools::equal(mfX, rTup.mfX, rfSmallValue) &&
-                fTools::equal(mfY, rTup.mfY, rfSmallValue)));
-        }
-
         // operators
 
 
diff --git a/include/basegfx/tuple/b3dtuple.hxx 
b/include/basegfx/tuple/b3dtuple.hxx
index 85df698..5bd5cc9 100644
--- a/include/basegfx/tuple/b3dtuple.hxx
+++ b/include/basegfx/tuple/b3dtuple.hxx
@@ -154,14 +154,6 @@ namespace basegfx
                 && ::basegfx::fTools::equalZero(mfZ)));
         }
 
-        bool equalZero(const double& rfSmallValue) const
-        {
-            return (this == &getEmptyTuple() ||
-                (::basegfx::fTools::equalZero(mfX, rfSmallValue)
-                && ::basegfx::fTools::equalZero(mfY, rfSmallValue)
-                && ::basegfx::fTools::equalZero(mfZ, rfSmallValue)));
-        }
-
         bool equal(const B3DTuple& rTup) const
         {
             return (
@@ -171,15 +163,6 @@ namespace basegfx
                 ::basegfx::fTools::equal(mfZ, rTup.mfZ)));
         }
 
-        bool equal(const B3DTuple& rTup, const double& rfSmallValue) const
-        {
-            return (
-                this == &rTup ||
-                (::basegfx::fTools::equal(mfX, rTup.mfX, rfSmallValue) &&
-                ::basegfx::fTools::equal(mfY, rTup.mfY, rfSmallValue) &&
-                ::basegfx::fTools::equal(mfZ, rTup.mfZ, rfSmallValue)));
-        }
-
         // operators
 
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to