X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_BSpline.cpp;fp=src%2FSketchAPI%2FSketchAPI_BSpline.cpp;h=361f28be6564263595bd0a00e38fd8c78e86760a;hb=08a991619fbd4f803d52e698dd48f0f7f46d118e;hp=c6667c55f004b710e376480cc9c2d5ee00dd5891;hpb=d5d78920316491975a67f76578982b401cdfe71d;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_BSpline.cpp b/src/SketchAPI/SketchAPI_BSpline.cpp index c6667c55f..361f28be6 100644 --- a/src/SketchAPI/SketchAPI_BSpline.cpp +++ b/src/SketchAPI/SketchAPI_BSpline.cpp @@ -24,6 +24,8 @@ #include +#include + #include #include #include @@ -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());