0026290: It is neccessary to separate visualization part from TKCAF
[occt.git] / src / BinLDrivers / BinLDrivers_DocumentRetrievalDriver.cxx
index 5a0338a..87bcb5f 100644 (file)
@@ -161,7 +161,7 @@ void BinLDrivers_DocumentRetrievalDriver::Read
     else if (aStr == END_TYPES)
       break;
     else if (begin) {
-      if(aFileVer < 5) {
+      if ( aFileVer < 8 ) {
 #ifdef DATATYPE_MIGRATION
        TCollection_AsciiString  newName;       
        if(Storage_Schema::CheckTypeMigration(aStr, newName)) {