]> Creatis software - gdcm.git/blobdiff - Testing/VTKTestWrite.cxx
update
[gdcm.git] / Testing / VTKTestWrite.cxx
index 0ec988e6884e9f8180cf179c68306cc12a3e9db0..c3d989ee6fd3db966ca604727f9b9d5b7131d275 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: VTKTestWrite.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/25 15:45:49 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2005/02/09 15:31:15 $
+  Version:   $Revision: 1.9 $
 
   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 "vtkGdcmWriter.h"
 #include "vtkImageViewer.h"
@@ -36,8 +35,8 @@
 #endif
 
 int VTKWriteTest(vtkTesting *t,vtkImageViewer *viewer,
-                 std::string const & filename, 
-                 std::string const & referenceFileName)
+                 std::string const &filename, 
+                 std::string const &referenceFileName)
 {
    int retVal = 0;  //by default this is an error
 
@@ -197,7 +196,7 @@ int VTKTestWrite(int argc, char *argv[])
    }
 
    int ret = 0;
-   vtkTestingt = vtkTesting::New();
+   vtkTesting *t = vtkTesting::New();
    vtkImageViewer *viewer;
    if( show )
       viewer = vtkImageViewer::New();