X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeDouble.cpp;h=d9e8ce69a50688d83d91ceb1b85b26666e28bced;hb=fc72d43b677baa05ae7fd317346fd8b723b799ed;hp=16a5cba736dc77c1343536626a8d9918bc0c0f96;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeDouble.cpp b/src/Model/Model_AttributeDouble.cpp index 16a5cba73..d9e8ce69a 100644 --- a/src/Model/Model_AttributeDouble.cpp +++ b/src/Model/Model_AttributeDouble.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -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(); }