X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FVTKTestReadSeq.cxx;h=3a7d262615f8ddae7246cdf41f407609b777b53b;hb=4552d4ee18f3234af4e037e77abf0622c2702004;hp=516927feb1528b34fa208264565c19666045986d;hpb=96cc99e8e141ceaf026104699c3273ad5fc88a1f;p=gdcm.git diff --git a/Testing/VTKTestReadSeq.cxx b/Testing/VTKTestReadSeq.cxx index 516927fe..3a7d2626 100644 --- a/Testing/VTKTestReadSeq.cxx +++ b/Testing/VTKTestReadSeq.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: VTKTestReadSeq.cxx,v $ Language: C++ - Date: $Date: 2005/02/03 10:00:06 $ - Version: $Revision: 1.9 $ + Date: $Date: 2007/09/18 07:58:38 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -15,7 +15,6 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#include "gdcmFileHelper.h" #include "vtkGdcmReader.h" #include "vtkImageViewer.h" #include "vtkImageData.h" @@ -26,6 +25,7 @@ #include "vtkImageShiftScale.h" #include +#include //Generated file: #include "gdcmDataSeqImages.h" @@ -38,7 +38,7 @@ int VTKReadSeqTest(vtkTesting *t, vtkImageViewer *viewer, std::string const &filename, std::string const &referenceFileName) { - int retVal = 0; //by default this is an error + int retVal; // = 0; (to avoid bcc 5.5 warnings) // Set the reader vtkGdcmReader *reader = vtkGdcmReader::New(); @@ -85,7 +85,7 @@ int VTKReadSeqTest(vtkTesting *t, vtkImageViewer *viewer, // make test int ret = 0; - ostrstream str; + std::ostringstream str; char *newFilePng = new char[referenceFileName.size()+1]; for(int j=0;jfreeze(1); if( retVal == vtkTesting::PASSED ) {