]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchAPI/SketchAPI_BSpline.cpp
Salome HOME
updated copyright message
[modules/shaper.git] / src / SketchAPI / SketchAPI_BSpline.cpp
index c6667c55f004b710e376480cc9c2d5ee00dd5891..8e72ab9706aa287bce9ba57a867c731bbc6a3faa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -24,6 +24,8 @@
 
 #include <GeomAlgoAPI_EdgeBuilder.h>
 
+#include <Locale_Convert.h>
+
 #include <ModelHighAPI_Double.h>
 #include <ModelHighAPI_Dumper.h>
 #include <ModelHighAPI_Integer.h>
@@ -155,7 +157,7 @@ static void createPole(const CompositeFeaturePtr& theSketch,
   aPointFeature->execute();
 
   std::wostringstream aName;
-  aName << theBSpline->name() << "_" << ModelAPI_Tools::toWString(thePoles->id())
+  aName << theBSpline->name() << "_" << Locale::Convert::toWString(thePoles->id())
                               << "_" << thePoleIndex;
   aPointFeature->data()->setName(aName.str());
   aPointFeature->lastResult()->data()->setName(aName.str());