From a3a9b35c9663482aa0d86830ce0689b6a82b7d06 Mon Sep 17 00:00:00 2001 From: sln Date: Tue, 17 Sep 2013 06:28:22 +0000 Subject: [PATCH] Fix for MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- src/Plot2d/Plot2d_ViewFrame.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2