X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI.cxx;h=dcb6d7c98308c2fc74de8bc0ad4de1b3689ab591;hb=8358c7288efd5c0ce9f790e62579202d69a4a66e;hp=0415b907af263eb1b5dc502ec11c2141dae85de0;hpb=437295b935d3014139699546a575fd80bbea4802;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 0415b907a..dcb6d7c98 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -2823,7 +2823,7 @@ void SMESHGUI::Import_Mesh(QAD_Desktop* parent, int theCommandID) // Mesh_Reader* myReader = SMESHDriver::GetMeshReader(myExtension, myClass); int myMeshId = (smeshGUI->myDocument)->NewMesh(); - Handle(SMDS_Mesh) myMesh = (smeshGUI->myDocument)->GetMesh(myMeshId); + SMDS_Mesh* myMesh = (smeshGUI->myDocument)->GetMesh(myMeshId); myReader->SetFile(string(filename.latin1())); myReader->SetMesh(myMesh); @@ -2940,7 +2940,7 @@ void SMESHGUI::Import_Document(QAD_Desktop* parent, int theCommandID) QApplication::setOverrideCursor( Qt::waitCursor ); string myClass = string("SMESHDS_Document"); // Document_Reader* myReader = SMESHDriver::GetDocumentReader(myExtension, myClass); - Handle(SMESHDS_Document) newDocument = new SMESHDS_Document(1); + SMESHDS_Document* newDocument = new SMESHDS_Document(1); myReader->SetFile(string(filename.latin1())); myReader->SetDocument(smeshGUI->myDocument);