[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Thu Jun 24 20:19:11 CEST 2004


CVS commit by arwalker: 

Remove obsolete code.


  M +2 -9      kst2dplot.cpp   1.106


--- kdeextragear-2/kst/kst/kst2dplot.cpp  #1.105:1.106
@@ -1351,13 +1351,4 @@ void Kst2DPlot::paint(QPainter& p, doubl
 // Optimize - isnan seems expensive, at least in gcc debug mode
 //            cachegrind backs this up.
-#undef isnan
-#define isnan(x) (x != x)
-        if (isnan(rX)) {
-          nopoint = true;
-        }
-        if (isnan(rY)) {
-          nopoint = true;
-        }
-
         if (_xLog) {
           if (rX > 0) {
@@ -1391,4 +1382,6 @@ void Kst2DPlot::paint(QPainter& p, doubl
           nopoint = false;
           c->getPoint(i_pt, rX, rY);
+#undef isnan
+#define isnan(x) (x != x)
           while ((isnan(rX) || isnan(rY)) && i_pt < iN) {
 #undef isnan





More information about the Kst mailing list