Salome HOME
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_GroupUtils.cxx
index fbdbd43f65b72c8dd9f5e2f69277c384eb677134..664e836724274b66b35aa7a342dcb14585b054ae 100644 (file)
@@ -42,7 +42,7 @@ namespace SMESH
     SMESH::SMESH_Group_var aGroup;
     try {
       if ( !theMesh->_is_nil() )
-        aGroup = theMesh->CreateGroup( theType, SMESH::toUtf8(theGroupName) );
+        aGroup = theMesh->CreateGroup( theType, theGroupName.toUtf8() );
     }
     catch( const SALOME::SALOME_Exception& S_ex ) {
       SalomeApp_Tools::QtCatchCorbaException( S_ex );