]> Creatis software - gdcm.git/blobdiff - src/gdcmValEntry.cxx
remove useless comments
[gdcm.git] / src / gdcmValEntry.cxx
index 4fddd8831b4bbfffdabf2b808e8ef0ac3e937264..66198701929eef7193a2d14144fe2870988a0aac 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmValEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/02 16:18:49 $
-  Version:   $Revision: 1.56 $
+  Date:      $Date: 2005/02/14 10:45:47 $
+  Version:   $Revision: 1.58 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -75,7 +75,7 @@ void ValEntry::WriteContent(std::ofstream *fp, FileType filetype)
    }
 
    const VRKey &vr = GetVR();
-   unsigned int lgr = GetLength();
+   unsigned int lgth = GetLength();
    if (vr == "US" || vr == "SS")
    {
       // some 'Short integer' fields may be multivaluated
@@ -110,7 +110,7 @@ void ValEntry::WriteContent(std::ofstream *fp, FileType filetype)
       return;
    } 
 
-   gdcmAssertMacro( lgr == GetValue().length() );
+   gdcmAssertMacro( lgth == GetValue().length() );
    binary_write(*fp, GetValue());
 } 
 
@@ -191,7 +191,7 @@ void ValEntry::Print(std::ostream &os, std::string const &)
    
    TS *ts = Global::GetTS();
     
-   TSAtr v  = GetValue();  // not applicable for SQ ...     
+   TSAtr v  = GetValue();     
    d2 = Util::CreateCleanString(v);  // replace non printable characters by '.'            
    if( GetLength() <= MAX_SIZE_PRINT_ELEMENT_VALUE
     || PrintLevel >= 3