Salome HOME
Merge remote-tracking branch 'remotes/origin/EDF_2020_Lot2'
[modules/shaper.git] / src / SketchAPI / SketchAPI_Line.cpp
index 03e0a7b978430392c0af553d1e4dbab8015c3871..bd71d60c2df5fdabab7f7caa4fcb4abf0df9ee8a 100644 (file)
@@ -65,7 +65,7 @@ SketchAPI_Line::SketchAPI_Line(
 
 SketchAPI_Line::SketchAPI_Line(
     const std::shared_ptr<ModelAPI_Feature> & theFeature,
-    const std::string & theExternalName )
+    const std::wstring & theExternalName )
 : SketchAPI_SketchEntity(theFeature)
 {
   if (initialize()) {
@@ -105,7 +105,7 @@ void SketchAPI_Line::setByExternal(const ModelHighAPI_Selection & theExternal)
   execute();
 }
 
-void SketchAPI_Line::setByExternalName(const std::string & theExternalName)
+void SketchAPI_Line::setByExternalName(const std::wstring & theExternalName)
 {
   fillAttribute(ModelHighAPI_Selection("EDGE", theExternalName), external());