Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files

This commit is contained in:
jrheinlaender
2013-03-27 11:47:18 +04:30
parent 5931944beb
commit ad6444053b
39 changed files with 119 additions and 78 deletions

View File

@@ -327,7 +327,7 @@ void PropertyFileIncluded::SaveDocFile (Base::Writer &writer) const
}
}
void PropertyFileIncluded::RestoreDocFile(Base::Reader &reader)
void PropertyFileIncluded::RestoreDocFile(Base::Reader &reader, const int FileVersion)
{
Base::ofstream to(Base::FileInfo(_cValue.c_str()));
if (!to)