Salome HOME
Merge from V6_main (04/10/2012)
[modules/hexablock.git] / src / HEXABLOCK_I / HEXABLOCK.cxx
index 8959a5e4245777f197ee79860f802a6c7549245d..68f09ede4e6d120b23cb2be8748f2bc56ad6d3ed 100755 (executable)
@@ -21,8 +21,6 @@ using namespace std;
 
 static bool db = false;
 
-
-
 // #include <Basics_Utils.hxx>
 // 
 // #include <TDF_Tool.hxx>
@@ -747,7 +745,8 @@ char* HEXABLOCK_Gen_i::IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject,
 {
    if (db) cout << " +++++++ Je suis passe par  HEXABLOCK_Gen_i::"
         << "IORToLocalPersistentID" << endl;
-   static char empty [8] = "";
+   /// static char empty [8] = "";
+   char*  empty = strdup ("");
    return empty;
 }
 // =================================================== LocalPersistentIDToIOR