From f042270c4ce957ccebc1c600482f03c80a736aa1 Mon Sep 17 00:00:00 2001 From: prascle Date: Fri, 28 Apr 2006 09:58:45 +0000 Subject: [PATCH] PR: patch from Sergey Mozokhin --- src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2