Salome HOME
Merge remote branch 'origin/V8_5_asterstudy'
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_RevolutionDlg.cxx
index f23c6d2f652688145b890e611b82b215925d306c..30be2c543a61ce512e328ae7ebf2a0452c5fcb20 100644 (file)
@@ -261,7 +261,7 @@ SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg( SMESHGUI* theModule )
 
   mySMESHGUI->SetActiveDialogBox((QDialog*)this);
 
-  myHelpFileName = "revolution_page.html";
+  myHelpFileName = "revolution.html";
 
   Init();
 
@@ -436,7 +436,7 @@ bool SMESHGUI_RevolutionDlg::ClickOnApply()
 
       SMESH::SMESH_Mesh_var mesh = SelectorWdg->GetMesh();
 
-      mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
+      mesh->SetParameters( aParameters.join(":").toUtf8().constData() );
 
       SMESH::ListOfIDSources_var nodes = new SMESH::ListOfIDSources();
       SMESH::ListOfIDSources_var edges = new SMESH::ListOfIDSources();
@@ -641,7 +641,7 @@ void SMESHGUI_RevolutionDlg::SelectionIntoArgument()
     else if ( isFaceSelected )
     {
       const SMDS_MeshFace* face =
-        dynamic_cast<const SMDS_MeshFace*>(aMesh->FindElement(aMapIndex(1)));
+        SMDS_Mesh::DownCast<SMDS_MeshFace>( aMesh->FindElement( aMapIndex( 1 )));
       if (!face)
         return;
       gp_XYZ aNormale = SMESH::getNormale(face);