diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-15 08:50:31 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-15 10:11:47 +0100 |
commit | bfa320ef2ac7ab9a84f86eee6dfa7f3ee67fa630 (patch) | |
tree | 32bc96e8b7db23624f1e1f4b14f4a224fdfa00cb /include/basegfx | |
parent | c18e5fd7d6c85d4755f1a70d97336d07b2add510 (diff) |
Drop obsolete comments
... since f14b9d30293f180500fc56d81e5390021758e7c1
and 7d8e94444d989d0ac4a4055b207726708e9ec0da.
Change-Id: I51dcd16779adfa7acd95d916769f1142372190a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112426
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/basegfx')
-rw-r--r-- | include/basegfx/numeric/ftools.hxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/basegfx/numeric/ftools.hxx b/include/basegfx/numeric/ftools.hxx index 78f4eb1e722f..54a8436f86a5 100644 --- a/include/basegfx/numeric/ftools.hxx +++ b/include/basegfx/numeric/ftools.hxx @@ -91,15 +91,6 @@ namespace basegfx */ inline double pruneScaleValue( double fVal ) { - // old version used ::std::min/max, but this collides if min is defined as preprocessor - // macro which is the case e.g with windows.h headers. The simplest way to avoid this is to - // just use the full comparison. I keep the original here, maybe there will be a better - // solution some day. - - //return fVal < 0.0 ? - // (::std::min(fVal,-0.00001)) : - // (::std::max(fVal,0.00001)); - if(fVal < 0.0) return std::min(fVal, -0.00001); else |