Salome HOME
Issue #1854 Recover feature control update
[modules/shaper.git] / src / ModuleBase / ModuleBase_ParamIntSpinBox.cpp
index b3f286dc28c6a903f56fb8525f7a6c419f2b7dc0..5c7343cdf4909fde2b67d30c55cd07e167642db7 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
 #include "ModuleBase_ParamIntSpinBox.h"
 
 #include <ModelAPI_Session.h>
@@ -193,7 +195,7 @@ bool ModuleBase_ParamIntSpinBox::findVariable(const QString& theName,
                                               double& outValue) const
 {
   ResultParameterPtr aParam;
-  return ModelAPI_Tools::findVariable(theName.toStdString(), outValue, aParam);
+  return ModelAPI_Tools::findVariable(FeaturePtr(), theName.toStdString(), outValue, aParam);
 }
 
 /*!