From 06c15730541e11801e990d841f66b7b728e7ec29 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 26 Oct 2005 10:03:26 +0000 Subject: [PATCH] PAL10399: Possible problems with saving data of Python modules --- src/SALOMEDS/SALOMEDS_StudyManager_i.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx b/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx index 29d0ca4b6..daab18900 100644 --- a/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx +++ b/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx @@ -730,12 +730,12 @@ void SALOMEDS_StudyManager_i::_SaveAs(const char* aUrl, Engines::Component_var aComp = SALOME_LifeCycleCORBA(&_name_service).FindOrLoad_Component(aFactoryType, aCompType); - + if(aComp->_is_nil()){ - Engines::Component_var aComp = - SALOME_LifeCycleCORBA(&_name_service).FindOrLoad_Component("FactoryServerPy", aCompType); + aComp = + SALOME_LifeCycleCORBA(&_name_service).FindOrLoad_Component("FactoryServerPy", aCompType); } - + if(!aComp->_is_nil()){ SALOMEDS::Driver_var aDriver = SALOMEDS::Driver::_narrow(aComp); if (!CORBA::is_nil(aDriver)) { -- 2.39.2