[Libreoffice-commits] core.git: include/basegfx

Zsolt Bölöny bolony.zsolt at gmail.com
Thu May 21 07:06:30 PDT 2015


 include/basegfx/numeric/ftools.hxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit ce7d80c69d936e844ec4ed930264bfc8cadacde1
Author: Zsolt Bölöny <bolony.zsolt at gmail.com>
Date:   Mon May 18 16:52:10 2015 +0200

    fTools::getSmallValue() is not used anymore
    
    Change-Id: I20ecd3078d1b0c5265929405484cda2cfd88060d
    Reviewed-on: https://gerrit.libreoffice.org/15806
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
    Tested-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/include/basegfx/numeric/ftools.hxx b/include/basegfx/numeric/ftools.hxx
index b4ae0a4..32c7654 100644
--- a/include/basegfx/numeric/ftools.hxx
+++ b/include/basegfx/numeric/ftools.hxx
@@ -151,13 +151,10 @@ namespace basegfx
     class BASEGFX_DLLPUBLIC fTools
     {
     public:
-        /// Get threshold value for equalZero and friends
-        static double getSmallValue() { return 0.000000001f; }
-
         /// Compare against small value
         static bool equalZero(const double& rfVal)
         {
-            return (fabs(rfVal) <= getSmallValue());
+            return (fabs(rfVal) <= 0.000000001f);
         }
 
         /// Compare against given small value


More information about the Libreoffice-commits mailing list