From: jpr Date: Mon, 17 Jan 2005 17:31:01 +0000 (+0000) Subject: Forget this one X-Git-Tag: Version1.0.bp~281 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=53d8646509a5a15166422a0d41533be61670c6aa;p=gdcm.git Forget this one --- diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 08e6a9c0..ddc83e57 100644 --- a/src/gdcmDocument.cxx +++ b/src/gdcmDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.cxx,v $ Language: C++ - Date: $Date: 2005/01/17 17:27:03 $ - Version: $Revision: 1.193 $ + Date: $Date: 2005/01/17 17:31:01 $ + Version: $Revision: 1.194 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -703,12 +703,12 @@ std::string Document::GetEntry(uint16_t group, uint16_t elem) */ std::string Document::GetEntryVR(uint16_t group, uint16_t elem) { - DocEntry *elem = GetDocEntry(group, elem); - if ( !elem ) + DocEntry *element = GetDocEntry(group, elem); + if ( !element ) { return GDCM_UNFOUND; } - return elem->GetVR(); + return element->GetVR(); } /** @@ -721,12 +721,12 @@ std::string Document::GetEntryVR(uint16_t group, uint16_t elem) */ int Document::GetEntryLength(uint16_t group, uint16_t elem) { - DocEntry *elem = GetDocEntry(group, elem); - if ( !elem ) + DocEntry *element = GetDocEntry(group, elem); + if ( !element ) { return -2; //magic number } - return elem->GetLength(); + return element->GetLength(); } /**