]> Creatis software - gdcm.git/blobdiff - src/gdcmSQItem.cxx
Fix mistypings
[gdcm.git] / src / gdcmSQItem.cxx
index c93e630caf991e8ef1a3a1c836b63088f960901a..b6c5dd0d31c9a9045d7abbc1ea2b0a5fbe2ff82d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmSQItem.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/07/26 08:36:49 $
-  Version:   $Revision: 1.86 $
+  Date:      $Date: 2007/10/08 15:20:17 $
+  Version:   $Revision: 1.88 $
   
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -55,7 +55,7 @@ SQItem::~SQItem()
  * @param filetype type of the file (ACR, ImplicitVR, ExplicitVR, ...)
  */
 void SQItem::WriteContent(std::ofstream *fp, FileType filetype, 
-                                                     bool insideMetaElements)
+                               bool , bool )
 {
    int j;
    uint16_t item[4] = { 0xfffe, 0xe000, 0xffff, 0xffff };
@@ -89,7 +89,8 @@ void SQItem::WriteContent(std::ofstream *fp, FileType filetype,
                  // contains 'impossible tag' fffe|0000 in last position !                            
       }
       // false : we are not in MetaElements
-      (*it)->WriteContent(fp, filetype, false);
+      // true  : we are inside a Sequence
+      (*it)->WriteContent(fp, filetype, false, true);
    }
       
     //we force the writting of an 'Item Delimitation' item