]> Creatis software - gdcm.git/commitdiff
Comment out strangr code nad replace by simpler one.
authorjpr <jpr>
Tue, 11 Oct 2005 14:38:05 +0000 (14:38 +0000)
committerjpr <jpr>
Tue, 11 Oct 2005 14:38:05 +0000 (14:38 +0000)
Does anybody remember its genesis?

src/gdcmDocument.cxx

index 8896d14d0fe73c9b7cb730984dfedc78f6b85c85..c784c14d8b4d0d287cb3093c74e00f02a85060cc 100644 (file)
@@ -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
    {