0021979]: [ CEA 709 ] Import/export GMF should not take into account the locale to write/read numbers

+  Kernel_Utils::Localizer loc;
This commit is contained in:
eap 2012-11-14 15:02:24 +00:00
parent 3ac36b919f
commit ec887f7ffa
2 changed files with 8 additions and 0 deletions

View 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;

View 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 );