X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_ShapeByMeshDlg.cxx;h=409c700b7a8b552be6d80a140812573166e0c068;hb=32d14d3084a1357854e927937452545c32fba7eb;hp=b17fed16fd0713ebb412cca2a8daf608201d8229;hpb=24412178e1a7c741a73d5b23822c43e08c353b97;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_ShapeByMeshDlg.cxx b/src/SMESHGUI/SMESHGUI_ShapeByMeshDlg.cxx index b17fed16f..409c700b7 100644 --- a/src/SMESHGUI/SMESHGUI_ShapeByMeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ShapeByMeshDlg.cxx @@ -314,7 +314,7 @@ void SMESHGUI_ShapeByMeshOp::commitOperation() // GEOM_Object is published -> no need to UnRegister() myGeomObj = GEOM::GEOM_Object::_duplicate (SMESHGUI::GetSMESHGen()->GetGeometryByMeshElement - ( myMesh.in(), elemID, myDlg->myGeomName->text().toLatin1().constData()) ); + ( myMesh.in(), elemID, myDlg->myGeomName->text().toUtf8().constData()) ); } else { @@ -387,7 +387,7 @@ void SMESHGUI_ShapeByMeshOp::commitOperation() QString aNewGeomGroupName ( myDlg->myGeomName->text() ); SALOMEDS::SObject_wrap aNewGroupSO = geomGen->AddInStudy( aGeomObject, - aNewGeomGroupName.toLatin1().data(), aMeshShape); + aNewGeomGroupName.toUtf8().data(), aMeshShape); // get a GEOM_Object already published, which doesn't need UnRegister() CORBA::Object_var obj = aNewGroupSO->GetObject();