Salome HOME
2 servant implementations of SMESH::SMESH_GEN. One with Study and ModuleCatalog retri...
[modules/smesh.git] / src / SMESH_I / SMESH_Hypothesis_i.cxx
index 4383564a75db5b425c67e8e5c507a113bd9ee1f2..dc41602a9f04dd0b0e29588f7d3c6767f22b2a6c 100644 (file)
@@ -50,7 +50,7 @@ SMESH_Hypothesis_i::SMESH_Hypothesis_i( PortableServer::POA_ptr thePOA )
   : SALOME::GenericObj_i( thePOA )
 {
   myBaseImpl = 0;
-};
+}
 
 //=============================================================================
 /*!
@@ -65,7 +65,7 @@ SMESH_Hypothesis_i::~SMESH_Hypothesis_i()
   //MESSAGE( "SMESH_Hypothesis_i::~SMESH_Hypothesis_i" );
   if ( myBaseImpl )
     delete myBaseImpl;
-};
+}
 
 //=============================================================================
 /*!
@@ -78,7 +78,7 @@ SMESH_Hypothesis_i::~SMESH_Hypothesis_i()
 char* SMESH_Hypothesis_i::GetName()
 {
   return CORBA::string_dup( myBaseImpl->GetName() );
-};
+}
 
 //=============================================================================
 /*!
@@ -91,7 +91,7 @@ char* SMESH_Hypothesis_i::GetName()
 char* SMESH_Hypothesis_i::GetLibName()
 {
   return CORBA::string_dup( myBaseImpl->GetLibName() );
-};
+}
 
 //=============================================================================
 /*!
@@ -104,7 +104,7 @@ char* SMESH_Hypothesis_i::GetLibName()
 void SMESH_Hypothesis_i::SetLibName(const char* theLibName)
 {
   myBaseImpl->SetLibName( theLibName );
-};
+}
 
 //=============================================================================
 /*!
@@ -130,7 +130,7 @@ bool SMESH_Hypothesis_i::IsPublished()
   bool res = false;
   if ( SMESH_Gen_i::GetSMESHGen() )
   {
-    SALOMEDS::SObject_wrap SO = SMESH_Gen_i::ObjectToSObject( _this());
+    SALOMEDS::SObject_wrap SO = SMESH_Gen_i::GetSMESHGen()->ObjectToSObject( _this());
     res = !SO->_is_nil();
   }
   return res;