Salome HOME
0022825: EDF GUI regression: Issue with accent in the OB
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_GroupUtils.cxx
index ec8fa4ad8d02be3b981d23080475307079650a89..4f48483570b75ee09122d012a63abc429379df20 100644 (file)
@@ -42,7 +42,7 @@ namespace SMESH
     SMESH::SMESH_Group_var aGroup;
     try {
       if ( !theMesh->_is_nil() )
-        aGroup = theMesh->CreateGroup( theType, theGroupName.toUtf8().data() );
+        aGroup = theMesh->CreateGroup( theType, SMESH::toUtf8(theGroupName) );
     }
     catch( const SALOME::SALOME_Exception& S_ex ) {
       SalomeApp_Tools::QtCatchCorbaException( S_ex );