From: asl Date: Tue, 30 Jun 2015 09:13:02 +0000 (+0300) Subject: patch for crash X-Git-Tag: v1.4.2~7^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2820a1f4283dfca3a02d7c5725faff632617f511;p=modules%2Fhydro.git patch for crash --- diff --git a/src/HYDROData/HYDROData_PolylineXY.cxx b/src/HYDROData/HYDROData_PolylineXY.cxx index 8071d35c..37559e3f 100755 --- a/src/HYDROData/HYDROData_PolylineXY.cxx +++ b/src/HYDROData/HYDROData_PolylineXY.cxx @@ -1183,8 +1183,10 @@ bool HYDROData_PolylineXY::IsCustom() const { bool isNull = getPolylineShape().IsNull(); int aNbPoints = 0; - for( int i=0, n=NbSections(); i