X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestMakeIcon.cxx;h=e78c37f158858e8d0f414613d20b4e13a57ff7ef;hb=35f2ef438dfa41741913cfea775e55f2ed1ee258;hp=017cc2de5e7d0a7b8e1ee581055329639690d374;hpb=99527f7d2edc2714942c0837cb56ff333b9fbb92;p=gdcm.git diff --git a/Testing/TestMakeIcon.cxx b/Testing/TestMakeIcon.cxx index 017cc2de..e78c37f1 100644 --- a/Testing/TestMakeIcon.cxx +++ b/Testing/TestMakeIcon.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestMakeIcon.cxx,v $ Language: C++ - Date: $Date: 2005/07/08 13:39:57 $ - Version: $Revision: 1.7 $ + Date: $Date: 2005/07/21 14:05:09 $ + Version: $Revision: 1.8 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -88,7 +88,9 @@ int TestMakeIcon (int argc, char *argv[]) delete f; - f = new gdcm::File(output); + f = new gdcm::File(); + f->SetFileName(output); + f->Load(); f->Print(); std::cout << "End of Print" << std::endl;