]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: patch from Sergey Mozokhin
authorprascle <prascle>
Fri, 28 Apr 2006 09:58:45 +0000 (09:58 +0000)
committerprascle <prascle>
Fri, 28 Apr 2006 09:58:45 +0000 (09:58 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx

index 02115ababb4f845e61fe582e019cc918c18b1e1c..9b25b659addf040837a63d2514fa6a7118f2afd2 100644 (file)
@@ -201,7 +201,7 @@ string SALOMEDSImpl_IParameters::decodeEntry(const string& entry)
   
   if(_compNames.find(compName) == _compNames.end()) {
     Handle(SALOMEDSImpl_SObject) so = _study->FindComponent((char*)compName.c_str());
-    if(!so) return entry;
+    if(so.IsNull()) return entry;
     compID = so->GetID().ToCString();
     _compNames[compName] = compID;
   }