From: asl Date: Fri, 22 Sep 2017 07:00:30 +0000 (+0300) Subject: refs #1331: correct compilation with GEOM patch X-Git-Tag: v2.1~66^2~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c7f996e854379ba68476e2f954277e96615db9f1;p=modules%2Fhydro.git refs #1331: correct compilation with GEOM patch --- diff --git a/src/HYDROGUI/HYDROGUI_PolylineOp.cxx b/src/HYDROGUI/HYDROGUI_PolylineOp.cxx index da94fccf..0f4380f5 100755 --- a/src/HYDROGUI/HYDROGUI_PolylineOp.cxx +++ b/src/HYDROGUI/HYDROGUI_PolylineOp.cxx @@ -354,7 +354,7 @@ bool HYDROGUI_PolylineOp::processApply( int& theUpdateFlags, aPolylineObj->AddSection( aSectName, aSectType, aSectClosure ); // Add the points fro section - CurveCreator::Coordinates aCurveCoords = myCurve->getPoints( i ); + CurveCreator::Coordinates aCurveCoords = myCurve->getCoords( i ); if ( aCurveCoords.size() <= 2 ) { diff --git a/src/HYDROGUI/HYDROGUI_ProfileOp.cxx b/src/HYDROGUI/HYDROGUI_ProfileOp.cxx index ab8f669b..1c9c96ad 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileOp.cxx +++ b/src/HYDROGUI/HYDROGUI_ProfileOp.cxx @@ -202,7 +202,7 @@ bool HYDROGUI_ProfileOp::processApply( int& theUpdateFlags, HYDROData_ProfileUZ::PointsList aProfileParamPoints; - CurveCreator::Coordinates aCurveCoords = myProfile->getPoints( 0 ); + CurveCreator::Coordinates aCurveCoords = myProfile->getCoords( 0 ); if ( aCurveCoords.size() <= 2 ) { theErrorMsg = tr( "NUMBER_OF_PROFILE_POINTS_INCORRECT" );