]> Creatis software - gdcm.git/blobdiff - Testing/VTKTestWriteSeq.cxx
Add :
[gdcm.git] / Testing / VTKTestWriteSeq.cxx
index 6db2132d3fe51ee1012ed595ef2d1edee31f0567..f33012eedf4053fd77ec7de208aaba0197be08ac 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: VTKTestWriteSeq.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/05/20 08:34:15 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2007/06/21 14:59:06 $
+  Version:   $Revision: 1.6 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -39,7 +39,7 @@ int VTKWriteSeqTest(vtkTesting *t, vtkImageViewer *viewer,
                    std::string const &filename, 
                    std::string const &referenceFileName)
 {
-   int retVal = 0;  //by default this is an error
+   int retVal;
 
    // Set the reader   
    vtkGdcmReader *reader = vtkGdcmReader::New();
@@ -219,7 +219,7 @@ int VTKTestWriteSeq(int argc, char *argv[])
       }
    }
 
-   gdcm::Debug::DebugOn();
+   GDCM_NAME_SPACE::Debug::DebugOn();
 
    int ret = 0;
    vtkTesting *t = vtkTesting::New();