Add SchemaVersion to RestoreDocFile to distinquish double from float binary

This commit is contained in:
jriegel
2013-09-23 13:13:50 +02:00
parent 29c3fa6458
commit 68078487c7
39 changed files with 78 additions and 70 deletions

View File

@@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (c) 2004 Jürgen Riegel <juergen.riegel@web.de> *
* Copyright (c) 2004 Jrgen Riegel <juergen.riegel@web.de> *
* *
* This file is part of the FreeCAD CAx development system. *
* *
@@ -649,7 +649,7 @@ void Document::Restore(Base::XMLReader &reader)
/**
* Restores the properties of the view providers.
*/
void Document::RestoreDocFile(Base::Reader &reader)
void Document::RestoreDocFile(Base::Reader &reader, const int DocumentSchema)
{
// We must create an XML parser to read from the input stream
Base::XMLReader xmlReader("GuiDocument.xml", reader);