summaryrefslogtreecommitdiff
path: root/basegfx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-26 09:16:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 11:51:16 +0000
commitc5bcfe902d1c4be488a1ce0ffb44a4f54734b2d5 (patch)
tree005e92bd01b8677581d8c38dbbaedf9e6ad8415a /basegfx/source
parent598d02d71f40901eab9275704c8bc0e1641b56e3 (diff)
callcatcher: update unused code
Change-Id: I2d79938465800a6bfe8cc120b85dc449ff04a960
Diffstat (limited to 'basegfx/source')
-rw-r--r--basegfx/source/numeric/ftools.cxx27
1 files changed, 0 insertions, 27 deletions
diff --git a/basegfx/source/numeric/ftools.cxx b/basegfx/source/numeric/ftools.cxx
index 6816fb3145d1..83bacc923da5 100644
--- a/basegfx/source/numeric/ftools.cxx
+++ b/basegfx/source/numeric/ftools.cxx
@@ -25,33 +25,6 @@ namespace basegfx
// init static member of class fTools
double ::basegfx::fTools::mfSmallValue = 0.000000001;
- double snapToZeroRange(double v, double fWidth)
- {
- if(fTools::equalZero(fWidth))
- {
- // with no range all snaps to range bound
- return 0.0;
- }
- else
- {
- if(v < 0.0 || v > fWidth)
- {
- double fRetval(fmod(v, fWidth));
-
- if(fRetval < 0.0)
- {
- fRetval += fWidth;
- }
-
- return fRetval;
- }
- else
- {
- return v;
- }
- }
- }
-
} // end of namespace basegfx
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */