Salome HOME
Issue #3237: Allow usage of accented characters in ObjectBrowser
[modules/shaper.git] / src / Model / Model_AttributeDouble.cpp
index 2f84c69eefba73b458d9e7e7911c4e318c96eb5f..f3b200492c7f375bce8543b4d2d5148274b38149 100644 (file)
@@ -61,7 +61,7 @@ double Model_AttributeDouble::value()
   return myExpression->value();
 }
 
-void Model_AttributeDouble::setText(const std::string& theValue)
+void Model_AttributeDouble::setText(const std::wstring& theValue)
 {
   if (text() != theValue) {
     myExpression->setText(theValue);
@@ -71,7 +71,7 @@ void Model_AttributeDouble::setText(const std::string& theValue)
   }
 }
 
-std::string Model_AttributeDouble::text()
+std::wstring Model_AttributeDouble::text()
 {
   return myExpression->text();
 }
@@ -97,12 +97,12 @@ std::string Model_AttributeDouble::expressionError()
   return myExpression->error();
 }
 
-void Model_AttributeDouble::setUsedParameters(const std::set<std::string>& theUsedParameters)
+void Model_AttributeDouble::setUsedParameters(const std::set<std::wstring>& theUsedParameters)
 {
   myExpression->setUsedParameters(theUsedParameters);
 }
 
-std::set<std::string> Model_AttributeDouble::usedParameters() const
+std::set<std::wstring> Model_AttributeDouble::usedParameters() const
 {
   return myExpression->usedParameters();
 }