]> Creatis software - gdcm.git/blobdiff - src/gdcmElValSet.cxx
* gdcm/Doc many doxygen changes:
[gdcm.git] / src / gdcmElValSet.cxx
index 184513937ae20f2cb8680e81c5c217d3c05ae638..d20f5eb2049b1bb7bd8d7665d2b8928f72efc4e2 100644 (file)
@@ -153,26 +153,16 @@ int gdcmElValSet::SetElValueLengthByNumber(guint32 l,
        TagKey key = gdcmDictEntry::TranslateToKey(group, element);
        if ( ! tagHt.count(key))
                return 0;
-       if (tagHt.count(key) > 1) {
-               dbg.Verbose(0, "gdcmElValSet::SetElValueLengthByNumber",
-                           "multiple entries for this key (FIXME) !");
-               return (0); 
-       }                                      
        tagHt[key]->SetLength(l);        
-       return(1);              
+       return 1 ;              
 }
 
 
 int gdcmElValSet::SetElValueLengthByName(guint32 l, string TagName) {
        if ( ! NameHt.count(TagName))
                return 0;
-       if (NameHt.count(TagName) > 1) {
-               dbg.Verbose(0, "gdcmElValSet::SetElValueByName",
-                           "multipe entries for this key (FIXME) !");
-               return 0;
-       }
        NameHt.find(TagName)->second->SetLength(l);      
-       return(1);              
+       return 1 ;              
 }
 
 // Sorry for the DEBUG's, but tomorow is gonna be hoter than today