From: prascle Date: Fri, 28 Apr 2006 09:58:45 +0000 (+0000) Subject: PR: patch from Sergey Mozokhin X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f042270c4ce957ccebc1c600482f03c80a736aa1;p=modules%2Fkernel.git PR: patch from Sergey Mozokhin --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx index 02115abab..9b25b659a 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx @@ -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; }