X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FexGC.cxx;h=6cff2a3b8be576253c337fd78af25e1a28a262b4;hb=ac113b082275780715dbd1605b2d7c873481eb9a;hp=8d28ecec55e90cfa069f3fb65fb8ecda30edaa93;hpb=4d992954520d43c6f2fb555b7cd721574978c23a;p=gdcm.git diff --git a/Example/exGC.cxx b/Example/exGC.cxx index 8d28ecec..6cff2a3b 100644 --- a/Example/exGC.cxx +++ b/Example/exGC.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exGC.cxx,v $ Language: C++ - Date: $Date: 2005/07/07 17:31:54 $ - Version: $Revision: 1.5 $ + Date: $Date: 2005/07/19 15:19:25 $ + 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 @@ -119,7 +119,9 @@ int main(int argc, char *argv[]) // ------ without Sequences ------------- - gdcm::FileHelper *copy = new gdcm::FileHelper( output ); + gdcm::FileHelper *copy = new gdcm::FileHelper( ); + copy->SetFileName( output ); + copy->Load(); gdcm::DocEntry *d = f->GetFirstEntry(); while(d)