include/basegfx/numeric/ftools.hxx | 9 --------- 1 file changed, 9 deletions(-)
New commits: commit bfa320ef2ac7ab9a84f86eee6dfa7f3ee67fa630 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Mon Mar 15 08:50:31 2021 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Mar 15 10:11:47 2021 +0100 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.kagan...@collabora.com> 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits