X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeDouble.cpp;h=f3b200492c7f375bce8543b4d2d5148274b38149;hb=ae3e12ab08ba2c98c74c9f4b93812faace2af798;hp=2f84c69eefba73b458d9e7e7911c4e318c96eb5f;hpb=477007776a86ed2cc26d54271e2a75e857eebdf3;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeDouble.cpp b/src/Model/Model_AttributeDouble.cpp index 2f84c69ee..f3b200492 100644 --- a/src/Model/Model_AttributeDouble.cpp +++ b/src/Model/Model_AttributeDouble.cpp @@ -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& theUsedParameters) +void Model_AttributeDouble::setUsedParameters(const std::set& theUsedParameters) { myExpression->setUsedParameters(theUsedParameters); } -std::set Model_AttributeDouble::usedParameters() const +std::set Model_AttributeDouble::usedParameters() const { return myExpression->usedParameters(); }