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 718972e48a
commit abf1623f07
39 changed files with 78 additions and 70 deletions

View File

@@ -160,7 +160,7 @@ void MergeDocuments::SaveDocFile (Base::Writer & w) const
document->exportObjects(objects, w);
}
void MergeDocuments::RestoreDocFile(Base::Reader & reader)
void MergeDocuments::RestoreDocFile(Base::Reader & reader, const int DocumentSchema)
{
std::vector<App::DocumentObject*> obj = objects;
// We must create an XML parser to read from the input stream