From: ouv Date: Tue, 8 Dec 2009 09:07:19 +0000 (+0000) Subject: Debug X-Git-Tag: PHASE_17_Part1_V3~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d63732afe5abe280084e3af716182b1ff23a6e52;p=modules%2Fkernel.git Debug --- diff --git a/src/Notebook/SALOME_Notebook.cxx b/src/Notebook/SALOME_Notebook.cxx index 75863cad0..dccd3e9aa 100644 --- a/src/Notebook/SALOME_Notebook.cxx +++ b/src/Notebook/SALOME_Notebook.cxx @@ -200,7 +200,11 @@ void SALOME_Notebook::SetToUpdate( SALOME::ParameterizedObject_ptr theObj ) if( !CORBA::is_nil( aParam ) ) { std::string anEntry = aParam->GetEntry(); - SALOME_Parameter* aParamPtr = myParameters[anEntry]; + std::map< std::string, SALOME_Parameter* >::const_iterator pit = myParameters.find( anEntry ); + if( pit == myParameters.end() ) + return; + + SALOME_Parameter* aParamPtr = pit->second; std::string aKey = GetKey( anEntry ); ClearDependencies( aKey, SALOME::All ); AddDependencies( aParamPtr );