From 5bd2d389d6b8f6699d0b7aa012d4344a917ccffb Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 7 Aug 2014 20:35:42 +0400 Subject: [PATCH] 0022669: [CEA 1255] Error in the method "createSegment" from the class "Plot2d_ViewFrame" --- src/Plot2d/Plot2d_ViewFrame.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plot2d/Plot2d_ViewFrame.cxx b/src/Plot2d/Plot2d_ViewFrame.cxx index a52a6ab99..9e7f037ab 100755 --- a/src/Plot2d/Plot2d_ViewFrame.cxx +++ b/src/Plot2d/Plot2d_ViewFrame.cxx @@ -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 ); -- 2.39.2