]> Creatis software - gdcm.git/commitdiff
DictEntry::TranslateToKey was used a wrong way in gdcm::DocEntry::Print()
authorjpr <jpr>
Mon, 11 Jul 2005 16:28:04 +0000 (16:28 +0000)
committerjpr <jpr>
Mon, 11 Jul 2005 16:28:04 +0000 (16:28 +0000)
src/gdcmDocEntry.cxx

index 488b062ab22865930c8f17cb402e159271a89903..a4cf42c2b7ba7bc38ebd1df042949bce330d7083 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/06/24 10:55:59 $
-  Version:   $Revision: 1.59 $
+  Date:      $Date: 2005/07/11 16:28:04 $
+  Version:   $Revision: 1.60 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -222,8 +222,11 @@ void DocEntry::Print(std::ostream &os, std::string const & )
    vr = GetVR();
    if ( vr==GDCM_UNKNOWN )
       vr="  ";
-
-   s << DictEntry::TranslateToKey(GetGroup(),GetElement()); 
+   
+   char sKey[10];
+   sprintf(sKey,"%04x|%04x",GetGroup(),GetElement() );
+   // s << sKey;
+   //s << DictEntry::TranslateToKey(GetGroup(),GetElement()); 
 
    if (PrintLevel >= 2)
    {