From acd45e23fa472f447cd418ed486f3afd06223719 Mon Sep 17 00:00:00 2001 From: gdd Date: Wed, 7 Sep 2011 09:42:52 +0000 Subject: [PATCH] rnc : fixed a Bug found by Edward and due to use of int instead of CORBA::Long in MakeCurveParametricNew --- src/GEOM_I/GEOM_ICurvesOperations_i.cc | 2 +- src/GEOM_I/GEOM_ICurvesOperations_i.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2