From c7f996e854379ba68476e2f954277e96615db9f1 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 22 Sep 2017 10:00:30 +0300 Subject: [PATCH] refs #1331: correct compilation with GEOM patch --- src/HYDROGUI/HYDROGUI_PolylineOp.cxx | 2 +- src/HYDROGUI/HYDROGUI_ProfileOp.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" ); -- 2.39.2