From 17f94f16b7cf2357e322d78892535e752212475e Mon Sep 17 00:00:00 2001 From: jrt Date: Thu, 4 Sep 2003 07:39:40 +0000 Subject: [PATCH] Change Handle(SMESHDS_Document) to SMESHDS_Document* --- src/SMESHGUI/SMESHGUI.cxx | 4 ++-- src/SMESHGUI/SMESHGUI.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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); diff --git a/src/SMESHGUI/SMESHGUI.h b/src/SMESHGUI/SMESHGUI.h index 695eb55a2..37769bcb4 100644 --- a/src/SMESHGUI/SMESHGUI.h +++ b/src/SMESHGUI/SMESHGUI.h @@ -88,7 +88,7 @@ private : // vtkScalarBarActor* myScalarBar; - Handle_SMESHDS_Document myDocument;//NBU + SMESHDS_Document * myDocument;//NBU bool myAutomaticUpdate; -- 2.39.2