From c5bcfe902d1c4be488a1ce0ffb44a4f54734b2d5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 26 Feb 2014 09:16:44 +0000 Subject: callcatcher: update unused code Change-Id: I2d79938465800a6bfe8cc120b85dc449ff04a960 --- basegfx/source/numeric/ftools.cxx | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'basegfx') 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: */ -- cgit