summaryrefslogtreecommitdiffstats
path: root/include/basegfx/numeric
diff options
context:
space:
mode:
authorZsolt Bölöny <bolony.zsolt@gmail.com>2015-05-18 16:52:10 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2015-05-21 14:06:03 +0000
commitce7d80c69d936e844ec4ed930264bfc8cadacde1 (patch)
tree2caa8cb5c32759185b52ad1614f9b0f2784eaf12 /include/basegfx/numeric
parentFix thinko (diff)
downloadcore-ce7d80c69d936e844ec4ed930264bfc8cadacde1.tar.gz
core-ce7d80c69d936e844ec4ed930264bfc8cadacde1.zip
fTools::getSmallValue() is not used anymore
Change-Id: I20ecd3078d1b0c5265929405484cda2cfd88060d Reviewed-on: https://gerrit.libreoffice.org/15806 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'include/basegfx/numeric')
-rw-r--r--include/basegfx/numeric/ftools.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/basegfx/numeric/ftools.hxx b/include/basegfx/numeric/ftools.hxx
index b4ae0a484bd8..32c76542c487 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