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 ] ))