diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 09:22:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 11:51:16 +0000 |
commit | 978fb3ed2779d8a2e64e8033c7931f36cb0edb6b (patch) | |
tree | 2c05e3ad8b3f4fdcfea63d0c4667fea7d096d53f /include/basegfx | |
parent | c5bcfe902d1c4be488a1ce0ffb44a4f54734b2d5 (diff) |
we can do away with mfSmallValue
Change-Id: Ia3ae16d71d1044ef9f338cd4322b371bdffd8e2e
Diffstat (limited to 'include/basegfx')
-rw-r--r-- | include/basegfx/numeric/ftools.hxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/basegfx/numeric/ftools.hxx b/include/basegfx/numeric/ftools.hxx index dc388798667e..5cb42c07dfad 100644 --- a/include/basegfx/numeric/ftools.hxx +++ b/include/basegfx/numeric/ftools.hxx @@ -149,14 +149,9 @@ namespace basegfx class BASEGFX_DLLPUBLIC fTools { - /// Threshold value for equalZero() - static double mfSmallValue; - public: /// Get threshold value for equalZero and friends - static double getSmallValue() { return mfSmallValue; } - /// Set threshold value for equalZero and friends - static void setSmallValue(const double& rfNew) { mfSmallValue = rfNew; } + static double getSmallValue() { return 0.000000001f; } /// Compare against small value static bool equalZero(const double& rfVal) |