]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
0022669: [CEA 1255] Error in the method "createSegment" from the class "Plot2d_ViewFrame"
authorvsr <vsr@opencascade.com>
Thu, 7 Aug 2014 16:35:42 +0000 (20:35 +0400)
committervsr <vsr@opencascade.com>
Thu, 7 Aug 2014 16:35:42 +0000 (20:35 +0400)
src/Plot2d/Plot2d_ViewFrame.cxx

index a52a6ab9920cad7859601be58d22cd2b6482c500..9e7f037ab80261b52597b079d7bf1a12ea8ff942 100755 (executable)
@@ -1094,7 +1094,7 @@ QwtPlotCurve *Plot2d_ViewFrame::createSegment( double *X, double *Y, int nbPoint
   aPCurve->setSamples( X, Y, nbPoint);
 
   aPCurve->setPen( QPen( lineColor, lineWidth, lineKind));
-  QwtSymbol* aSymbol;
+  QwtSymbol* aSymbol = new QwtSymbol();
   aSymbol->setStyle( markerKind );
   aPCurve->setSymbol( aSymbol );