X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FIGESExport%2FIGESExport.cxx;h=72e6cb2fa51e9bf8ca8f1c871ec0cbcb1f804df1;hb=debaa376dae156b3d72087d03f334fcca64dfa7b;hp=d1ccdbf1ed99dc6889fe71ef68e2a410db3a6591;hpb=a258642774a5686e9a1fe5a041044d697cf8b9f6;p=modules%2Fgeom.git diff --git a/src/IGESExport/IGESExport.cxx b/src/IGESExport/IGESExport.cxx index d1ccdbf1e..72e6cb2fa 100644 --- a/src/IGESExport/IGESExport.cxx +++ b/src/IGESExport/IGESExport.cxx @@ -26,6 +26,8 @@ // #include "utilities.h" +#include + #include #include #include @@ -74,8 +76,7 @@ IGESEXPORT_EXPORT aBrepMode = 1; // Set "C" numeric locale to save numbers correctly - std::string aCurLocale = setlocale(LC_NUMERIC, 0); - setlocale(LC_NUMERIC, "C"); + Kernel_Utils::Localizer loc; // initialize writer IGESControl_Controller::Init(); @@ -90,7 +91,6 @@ IGESEXPORT_EXPORT bool ok = ICW.Write( theFileName.ToCString() ); // Return previous locale - setlocale(LC_NUMERIC, aCurLocale.data()); if ( ok ) return 1; }