Salome HOME
added test for bos#34658
[modules/shaper.git] / src / FeaturesAPI / FeaturesAPI_MultiRotation.cpp
index 86558686c73f02f3f6aec8e8222918b8df10b604..cb00985a23620e4142c30a54c52517615a5d2a8c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2022  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
@@ -156,8 +156,8 @@ MultiRotationPtr addMultiRotation(const std::shared_ptr<ModelAPI_Document>& theP
   if (theNumber.string().empty()) {
     // rotate for the whole circle
     double aStepVal = theStep.value();
-    std::string aStepStr = theStep.string();
-    std::ostringstream aStepValAsStr;
+    std::wstring aStepStr = theStep.string();
+    std::wostringstream aStepValAsStr;
     aStepValAsStr << aStepVal;
 
     ModelHighAPI_Integer aNumber = aStepStr == aStepValAsStr.str()