]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
INT PAL 0052843: SIGSEGV when saving study if module which data is present in the...
authormpa <mpa@opencascade.com>
Thu, 27 Aug 2015 13:34:51 +0000 (16:34 +0300)
committermpa <mpa@opencascade.com>
Thu, 27 Aug 2015 13:34:51 +0000 (16:34 +0300)
src/SALOMEDS/SALOMEDS_Driver_i.cxx

index cd2e26187de5186092838368b9fcf4e9a2a71691..43120f9e91aca0fce9f384037dc8bd0290b5c749 100644 (file)
@@ -227,7 +227,8 @@ std::string SALOMEDS_Driver_i::LocalPersistentIDToIOR(const SALOMEDSImpl_SObject
 
   if ( !CORBA::is_nil(_driver) ) {
     CORBA::String_var IOR = _driver->LocalPersistentIDToIOR(so.in(), pers_string.in(), isMultiFile, isASCII);
-    ior = IOR;
+    if ( IOR.in() )
+      ior = IOR;
   }
   so->UnRegister();
   SALOMEDS::lock();