Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Task #3237: Allow usage of accented characters in ObjectBrowser
[modules/shaper.git]
/
src
/
SketchAPI
/
SketchAPI_BSpline.cpp
diff --git
a/src/SketchAPI/SketchAPI_BSpline.cpp
b/src/SketchAPI/SketchAPI_BSpline.cpp
index c6667c55f004b710e376480cc9c2d5ee00dd5891..361f28be6564263595bd0a00e38fd8c78e86760a 100644
(file)
--- a/
src/SketchAPI/SketchAPI_BSpline.cpp
+++ b/
src/SketchAPI/SketchAPI_BSpline.cpp
@@
-24,6
+24,8
@@
#include <GeomAlgoAPI_EdgeBuilder.h>
#include <GeomAlgoAPI_EdgeBuilder.h>
+#include <Locale_Convert.h>
+
#include <ModelHighAPI_Double.h>
#include <ModelHighAPI_Dumper.h>
#include <ModelHighAPI_Integer.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;
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());
<< "_" << thePoleIndex;
aPointFeature->data()->setName(aName.str());
aPointFeature->lastResult()->data()->setName(aName.str());