Salome HOME
Correct an obvious mistake.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Swig.cxx
index 203db32dea120255788b7ab71f96c47c3b796388..20b00e5653788191e0fdbaea627ed0d3577be0a5 100644 (file)
@@ -299,10 +299,10 @@ SMESH_Swig::SMESH_Swig()
 
   MESSAGE("Constructeur");
 
-  if(!CORBA::is_nil(anORB))
+  if(CORBA::is_nil(anORB))
     ProcessVoidEvent(new TEvent(anORB));
 
-  ASSERT(CORBA::is_nil(anORB));
+  ASSERT(!CORBA::is_nil(anORB));
 }
 
 
@@ -440,7 +440,7 @@ SMESH_Swig::AddNewHypothesis(const char* theIOR)
   CORBA::String_var anEntry = aSObject->GetID();
   return anEntry._retn();
 }
-  
+
 
 //===============================================================
 const char*