From: sln Date: Tue, 17 Sep 2013 06:28:22 +0000 (+0000) Subject: Fix for X-Git-Tag: CTH_1_9_2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a3a9b35c9663482aa0d86830ce0689b6a82b7d06;p=modules%2Fgui.git Fix for GM: Open « Test_log.hdf » on ftp Post processing Select “TBEH” Select “LIQFLOW” point 1 Display Change vertical axis by logarithmic Remove points V1.9a aborts. --- diff --git a/src/Plot2d/Plot2d_ViewFrame.cxx b/src/Plot2d/Plot2d_ViewFrame.cxx index cfe758f60..94bf51630 100755 --- a/src/Plot2d/Plot2d_ViewFrame.cxx +++ b/src/Plot2d/Plot2d_ViewFrame.cxx @@ -1541,9 +1541,9 @@ void Plot2d_ViewFrame::cutCurveNonPositiveValues( const bool theIsXAxis, { if( Plot2d_Curve* aCurve = it.value() ) { - pointList& aPointList = aCurve->getPointList(); - pointList::iterator pIt, pItEnd = aPointList.end(); - for( pIt = aPointList.begin(); pIt != pItEnd; ) + QList& aPointList = aCurve->getPointList(); + QList::iterator pIt; + for( pIt = aPointList.begin(); pIt != aPointList.end(); ) { Plot2d_Point& aPoint = *pIt; double& value = theIsXAxis ? aPoint.x : aPoint.y;