]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchAPI/SketchAPI_Projection.cpp
Salome HOME
Support of wide string
[modules/shaper.git] / src / SketchAPI / SketchAPI_Projection.cpp
index aa94fa895e1b89607d0198dafb243b84d94f2ef9..06c36fa664b988d209e606d75147ae6b6a9462e2 100644 (file)
@@ -58,7 +58,7 @@ SketchAPI_Projection::SketchAPI_Projection(
 
 SketchAPI_Projection::SketchAPI_Projection(
     const std::shared_ptr<ModelAPI_Feature> & theFeature,
-    const std::string & theExternalName)
+    const std::wstring & theExternalName)
 : SketchAPI_SketchEntity(theFeature)
 {
   if (initialize()) {
@@ -79,7 +79,7 @@ void SketchAPI_Projection::setExternalFeature(const ModelHighAPI_Selection & the
   execute(true);
 }
 
-void SketchAPI_Projection::setByExternalName(const std::string& theExternalName)
+void SketchAPI_Projection::setByExternalName(const std::wstring& theExternalName)
 {
   setExternalFeature(ModelHighAPI_Selection("EDGE", theExternalName));
 }