0020902: EDF 1416 GUI: Problems in the Notebook and with Setcolor when switching the locale

This commit is contained in:
vsr 2010-06-07 06:18:28 +00:00
parent 4254b22256
commit 76715a1dc0

View File

@ -35,6 +35,8 @@
#include "utilities.h"
#include <Basics_Utils.hxx>
#include <TDF_Tool.hxx>
#include <TDF_Data.hxx>
#include <TDF_Reference.hxx>
@ -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);