From 2974fc9af7458cd3a94251a12d4af74fefe22275 Mon Sep 17 00:00:00 2001 From: jpr Date: Mon, 11 Jul 2005 16:28:04 +0000 Subject: [PATCH] DictEntry::TranslateToKey was used a wrong way in gdcm::DocEntry::Print() --- src/gdcmDocEntry.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/gdcmDocEntry.cxx b/src/gdcmDocEntry.cxx index 488b062a..a4cf42c2 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/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) { -- 2.48.1