X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmHeader.cxx;h=a16d0693841a40f35696f18e52fc917dd1c5aebd;hb=f41fb331c46df02fd4e284960f0473d7155573a2;hp=0d21112109206bc53eaaf150f1639e067d87be2f;hpb=153db29d779f82893684c6aac08b0a565dd84334;p=gdcm.git diff --git a/src/gdcmHeader.cxx b/src/gdcmHeader.cxx index 0d211121..a16d0693 100644 --- a/src/gdcmHeader.cxx +++ b/src/gdcmHeader.cxx @@ -730,16 +730,7 @@ void gdcmHeader::LoadElementValue(gdcmElValue * ElVal) { if( group == 0xfffe ) SkipLoad = true; - // The group length doesn't represent data to be loaded in memory, since - // each element of the group shall be loaded individualy. - if( elem == 0 ) - //SkipLoad = true; // modif sauvage JPR - // On charge la longueur du groupe - // quand l'element 0x0000 est présent ! - if ( SkipLoad ) { - // FIXME the following skip is not necessary - SkipElementValue(ElVal); ElVal->SetLength(0); ElVal->SetValue("gdcm::Skipped"); return;