X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDocEntry.cxx;h=edccc2db446bf9d5552f0437c27baf2951c0905f;hb=c094854320484d68477c1855e3fa619e33db7cec;hp=a4cf42c2b7ba7bc38ebd1df042949bce330d7083;hpb=2974fc9af7458cd3a94251a12d4af74fefe22275;p=gdcm.git diff --git a/src/gdcmDocEntry.cxx b/src/gdcmDocEntry.cxx index a4cf42c2..edccc2db 100644 --- a/src/gdcmDocEntry.cxx +++ b/src/gdcmDocEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocEntry.cxx,v $ Language: C++ - Date: $Date: 2005/07/11 16:28:04 $ - Version: $Revision: 1.60 $ + Date: $Date: 2005/07/11 18:13:16 $ + Version: $Revision: 1.61 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -222,11 +222,8 @@ void DocEntry::Print(std::ostream &os, std::string const & ) vr = GetVR(); if ( vr==GDCM_UNKNOWN ) vr=" "; - - char sKey[10]; - sprintf(sKey,"%04x|%04x",GetGroup(),GetElement() ); - // s << sKey; - //s << DictEntry::TranslateToKey(GetGroup(),GetElement()); + + s << DictEntry::TranslateToKey(GetGroup(),GetElement()); if (PrintLevel >= 2) {