Salome HOME
Mantis issue 0021668: [CEA 564] MED2.1 to MED2.3
[modules/smesh.git] / src / DriverMED / DriverMED_Family.cxx
index c284b0b3ca8f3e7315eaa5eb97360d222c57931c..4d9a984d6aef9d8ebc3bad6b7482920ee57477fd 100644 (file)
@@ -357,9 +357,9 @@ DriverMED_Family::GetFamilyInfo(const MED::PWrapper& theWrapper,
   string aValue = aStr.str();
   // PAL19785,0019867 - med forbids whitespace to be the last char in the name
   int maxSize;
-  if ( theWrapper->GetVersion() == MED::eV2_1 )
-    maxSize = MED::GetNOMLength<MED::eV2_1>();
-  else
+  //if ( theWrapper->GetVersion() == MED::eV2_1 )
+  //  maxSize = MED::GetNOMLength<MED::eV2_1>();
+  //else
     maxSize = MED::GetNOMLength<MED::eV2_2>();
   int lastCharPos = min( maxSize, (int) aValue.size() ) - 1;
   while ( isspace( aValue[ lastCharPos ] ))