From bfa320ef2ac7ab9a84f86eee6dfa7f3ee67fa630 Mon Sep 17 00:00:00 2001
From: Mike Kaganski <mike.kaganski@collabora.com>
Date: Mon, 15 Mar 2021 08:50:31 +0100
Subject: 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>
---
 include/basegfx/numeric/ftools.hxx | 9 ---------
 1 file changed, 9 deletions(-)

(limited to 'include')

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
-- 
cgit