Salome HOME
Updated copyright comment
[modules/shaper.git] / src / PrimitivesAPI / PrimitivesAPI_Cone.cpp
index e4525734c9aa61f1cc6dba535b7a4e544e141dc6..4faa56efd2074151ac44b2b8e5aeea497fe97ac6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -114,8 +114,8 @@ ConePtr addCone(const std::shared_ptr<ModelAPI_Document>& thePart,
                 const ModelHighAPI_Double& theTopRadius,
                 const ModelHighAPI_Double& theHeight)
 {
-  ModelHighAPI_Selection aBasePoint("VERTEX", "PartSet/Origin");
-  ModelHighAPI_Selection anAxis("EDGE", "PartSet/OZ");
+  ModelHighAPI_Selection aBasePoint("VERTEX", L"PartSet/Origin");
+  ModelHighAPI_Selection anAxis("EDGE", L"PartSet/OZ");
   std::shared_ptr<ModelAPI_Feature> aFeature = thePart->addFeature(PrimitivesAPI_Cone::ID());
   return ConePtr(new PrimitivesAPI_Cone(aFeature, aBasePoint, anAxis, theBaseRadius,
                                         theTopRadius, theHeight));