]> Creatis software - gdcm.git/commitdiff
Fix SplitOnPosition()
authorjpr <jpr>
Wed, 26 Oct 2005 11:19:14 +0000 (11:19 +0000)
committerjpr <jpr>
Wed, 26 Oct 2005 11:19:14 +0000 (11:19 +0000)
src/gdcmSerieHelper.cxx

index 06ffc2db18380350e524d34904f262e98c19f5e2..f8bff83228e7c4c6a714d262c2b90237761171e3 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmSerieHelper.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/26 06:23:37 $
-  Version:   $Revision: 1.31 $
+  Date:      $Date: 2005/10/26 11:19:14 $
+  Version:   $Revision: 1.32 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -497,7 +497,8 @@ XCoherentFileSetmap SerieHelper::SplitOnPosition(FileList *fileSet)
         ossPosition << pos[i]; 
       }      
       strPosition = ossPosition.str();
-      
+      ossPosition.str("");
+            
       if ( CoherentFileSet.count(strPosition) == 0 )
       {
          gdcmDebugMacro(" New Position :[" << strPosition << "]");