[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Mar 3 06:30:52 CET 2004


CVS commit by staikos: 

unnecessary


  M +5 -10     kstplot.cpp   1.40


--- kdeextragear-2/kst/kst/kstplot.cpp  #1.39:1.40
@@ -83,25 +83,20 @@ KstPlot::KstPlot(QDomElement &e, KstBase
         ymax_in = e.text().toDouble();
       } else if (e.tagName() == "toplabel") {
-        if (in_toplabel)
           delete in_toplabel;
         in_toplabel = new KstLabel(" ");
         in_toplabel->read(e);
       } else if (e.tagName() == "xlabel") {
-        if (in_xlabel)
           delete in_xlabel;
         in_xlabel = new KstLabel(" ");
         in_xlabel->read(e);
       } else if (e.tagName() == "ylabel") {
-        if (in_ylabel)
           delete in_ylabel;
         in_ylabel = new KstLabel(" ");
         in_ylabel->read(e);
       } else if (e.tagName() == "ticklabel") {
-        if (in_ticklabel)
           delete in_ticklabel;
         in_ticklabel = new KstLabel(" ");
         in_ticklabel->read(e);
       } else if (e.tagName() == "legend") {
-        if (in_legend)
           delete in_legend;
         in_legend = new KstLegend();





More information about the Kst mailing list