[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Wed Oct 5 17:44:36 CEST 2005


SVN commit 467555 by staikos:

remove unused variable


 M  +3 -4      kstvcurve.cpp  


--- trunk/extragear/graphics/kst/kst/kstvcurve.cpp #467554:467555
@@ -755,7 +755,6 @@
 void KstVCurve::paint(KstCurveRenderContext context) {
   QPainter *p = context.p;
   QColor _foregroundColor = context._foregroundColor;
-  KstVCurvePtr c = this;
   QRegion clipRegion;
   double Lx = context.Lx, Hx = context.Hx, Ly = context.Ly, Hy = context.Hy;
   double m_X = context.m_X, m_Y = context.m_Y;
@@ -1081,7 +1080,7 @@
         }
         overlap = false;
       }
-    } // end if c->hasLines()
+    } // end if hasLines()
 #ifdef BENCHMARK
     clock_t linesEnd = clock();
     kstdDebug() << "        Lines clocks: " << (linesEnd - linesStart) << endl;
@@ -1433,8 +1432,8 @@
           }
         }
       }
-    } // end if (c->hasYError())
-  } // end if (c->sampleCount() > 0)
+    } // end if (hasYError())
+  } // end if (sampleCount() > 0)
 
 #ifdef BENCHMARK
   b_4 = benchtmp.elapsed();


More information about the Kst mailing list