]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021979]: [ CEA 709 ] Import/export GMF should not take into account the locale to...
authoreap <eap@opencascade.com>
Wed, 14 Nov 2012 15:02:24 +0000 (15:02 +0000)
committereap <eap@opencascade.com>
Wed, 14 Nov 2012 15:02:24 +0000 (15:02 +0000)
+  Kernel_Utils::Localizer loc;

src/DriverGMF/DriverGMF_Read.cxx
src/DriverGMF/DriverGMF_Write.cxx

index e28bcb998a3db4e446c6ca613d06c87cbade7d22..02f4a0a291a9b29c9af9f7a45fd98b706b88d7f3 100644 (file)
@@ -30,6 +30,8 @@
 #include "SMESHDS_Mesh.hxx"
 #include "SMESH_Comment.hxx"
 
+#include <Basics_Utils.hxx>
+
 extern "C"
 {
 #include "libmesh5.h"
@@ -63,6 +65,8 @@ DriverGMF_Read::~DriverGMF_Read()
 
 Driver_Mesh::Status DriverGMF_Read::Perform()
 {
+  Kernel_Utils::Localizer loc;
+
   Status status = DRS_OK;
 
   int dim, version;
index cdc6a2f5fa01cbda1fdad32d912090ee7a2355ff..6dd232d9106bcef9a1573254f76695fe3b271d9b 100644 (file)
@@ -29,6 +29,8 @@
 #include "SMESHDS_Mesh.hxx"
 #include "SMESH_Comment.hxx"
 
+#include <Basics_Utils.hxx>
+
 extern "C"
 {
 #include "libmesh5.h"
@@ -66,6 +68,8 @@ DriverGMF_Write::~DriverGMF_Write()
 
 Driver_Mesh::Status DriverGMF_Write::Perform()
 {
+  Kernel_Utils::Localizer loc;
+
   const int dim = 3, version = sizeof(long) == 4 ? 2 : 3;
 
   int meshID = GmfOpenMesh( myFile.c_str(), GmfWrite, version, dim );