From: gdd Date: Wed, 7 Sep 2011 09:42:52 +0000 (+0000) Subject: rnc : fixed a Bug found by Edward and due to use of int instead of CORBA::Long in... X-Git-Tag: Before_opencv_branch_20110913~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=acd45e23fa472f447cd418ed486f3afd06223719;p=modules%2Fgeom.git rnc : fixed a Bug found by Edward and due to use of int instead of CORBA::Long in MakeCurveParametricNew --- diff --git a/src/GEOM_I/GEOM_ICurvesOperations_i.cc b/src/GEOM_I/GEOM_ICurvesOperations_i.cc index bbd162e11..078950c30 100644 --- a/src/GEOM_I/GEOM_ICurvesOperations_i.cc +++ b/src/GEOM_I/GEOM_ICurvesOperations_i.cc @@ -474,7 +474,7 @@ GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeCurveParametric(const char* */ //============================================================================= GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeCurveParametricNew(const char* thexExpr, const char* theyExpr, const char* thezExpr, - double theParamMin, double theParamMax, int theParamNbStep, + double theParamMin, double theParamMax, CORBA::Long theParamNbStep, GEOM::curve_type theCurveType) { GEOM::GEOM_Object_var aGEOMObject; //Set a not done flag diff --git a/src/GEOM_I/GEOM_ICurvesOperations_i.hh b/src/GEOM_I/GEOM_ICurvesOperations_i.hh index 11b1fb5e4..31e1eff4f 100644 --- a/src/GEOM_I/GEOM_ICurvesOperations_i.hh +++ b/src/GEOM_I/GEOM_ICurvesOperations_i.hh @@ -91,7 +91,7 @@ class GEOM_I_EXPORT GEOM_ICurvesOperations_i : GEOM::curve_type theCurveType); GEOM::GEOM_Object_ptr MakeCurveParametricNew(const char* thexExpr, const char* theyExpr, const char* thezExpr, - double theParamMin, double theParamMax, int theParamNbStep, + double theParamMin, double theParamMax, CORBA::Long theParamNbStep, GEOM::curve_type theCurveType); GEOM::GEOM_Object_ptr MakeSketcher (const char* theCommand, const GEOM::ListOfDouble& theWorkingPlane);