Salome HOME
setDisplayed has to be called in order to synchronize internal state of the object
[modules/shaper.git] / src / Model / Model_Objects.h
index 06848a8584b7e3850c675b28792fd7628b14bb6c..6cf221e0b498efefc05f81a6818a3984112bfeda 100644 (file)
@@ -53,7 +53,7 @@ class Model_Objects
 
   //! Returns the existing feature by the label
   //! \param theLabel base label of the feature
-  FeaturePtr feature(TDF_Label& theLabel) const;
+  FeaturePtr feature(TDF_Label theLabel) const;
 
   //! Returns the existing object: result or feature
   //! \param theLabel base label of the object
@@ -67,7 +67,7 @@ class Model_Objects
     const std::string& theGroupID, const std::string& theName);
 
   //! Returns the result by the result name
-  ResultPtr Model_Objects::findByName(const std::string theName);
+  ResultPtr findByName(const std::string theName);
 
 
   //! Returns the object index in the group. Object must be visible. Otherwise returns -1.