From 4c54e5135106a491c069b82cbcd0e41ad0837a89 Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 11 Oct 2005 14:38:05 +0000 Subject: [PATCH] Comment out strangr code nad replace by simpler one. Does anybody remember its genesis? --- src/gdcmDocument.cxx | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 8896d14d..c784c14d 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/10/10 10:49:24 $ - Version: $Revision: 1.286 $ + Date: $Date: 2005/10/11 14:38:05 $ + Version: $Revision: 1.287 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1515,15 +1515,19 @@ void Document::LoadDocEntry(DocEntry *entry, bool forceLoad) return; } - if ( vr == "UI" ) - { - // Because of correspondance with the VR dic - valEntry->SetValue(newValue); - } - else - { - valEntry->SetValue(newValue); - } +// if ( vr == "UI" ) +// { +// // Because of correspondance with the VR dic +// valEntry->SetValue(newValue); +// } +// else +// { +// valEntry->SetValue(newValue); +// } + +// Anybody remembers the genesis of strange previous (commented out) code? + valEntry->SetValue(newValue); + } else { -- 2.45.1