Salome HOME
#17959 [CEA 17951] MG-HEXA segments MIN/MAX parameters not saved: 9.3.0 and in 9...
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i.cxx
index a66cb766e43b8a1fbb478f8deadc4439df0839a2..aa3564d27746ab7c155a68ba10b9dd96dd9b26b0 100644 (file)
@@ -4034,6 +4034,9 @@ SALOMEDS::TMPFile* SMESH_Gen_i::Save( SALOMEDS::SComponent_ptr theComponent,
                                       const char*              theURL,
                                       bool                     isMultiFile )
 {
+  // localizing
+  Kernel_Utils::Localizer loc;
+
   if (!myStudyContext)
     UpdateStudy();
 
@@ -5048,6 +5051,9 @@ bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
                         const char*              theURL,
                         bool                     isMultiFile )
 {
+  // localizing
+  Kernel_Utils::Localizer loc;
+
   //if (!myStudyContext)
     UpdateStudy();
   SALOMEDS::Study_var aStudy = getStudyServant();