From 76715a1dc036df84714b430dd2693659a71ca77f Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 7 Jun 2010 06:18:28 +0000 Subject: [PATCH] 0020902: EDF 1416 GUI: Problems in the Notebook and with Setcolor when switching the locale --- src/GEOM/GEOM_Engine.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx index 11679422a..60a5e7da7 100644 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -35,6 +35,8 @@ #include "utilities.h" +#include + #include #include #include @@ -528,6 +530,9 @@ TCollection_AsciiString GEOM_Engine::DumpPython(int theDocID, bool isPublished, bool& aValidScript) { + // Set "C" numeric locale to save numbers correctly + Kernel_Utils::Localizer loc; + TCollection_AsciiString aScript; Handle(TDocStd_Document) aDoc = GetDocument(theDocID); -- 2.39.2