]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Unsure : To check...
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 13 Jan 2021 16:39:24 +0000 (17:39 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 13 Jan 2021 16:39:24 +0000 (17:39 +0100)
src/SALOMEDS/SALOMEDS_Study_i.cxx

index 31a2bef460e12c8d939c17b30cb6431b2bd2abc2..75d14e56b83468a92b7cb9e5d48fb424888825a9 100644 (file)
@@ -227,6 +227,8 @@ namespace SALOMEDS
     {
       try
       {
+        if(theIOR.empty())
+          return ;
         CORBA::Object_var obj = _orb->string_to_object(theIOR.c_str());
         if ( obj->_non_existent() ) return;
         SALOME::GenericObj_var gobj = SALOME::GenericObj::_narrow(obj);