X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestPrintAllDocument.cxx;h=c1580202ae299c3af73dcc92c5874a97043cea8e;hb=1b20e56c29494e7d1bef31d3ade5de833347c228;hp=d083bf07b087277587fab69aada44f211c87d26d;hpb=6b51b22366f878e1050c75a6ebb755bd2ff365c7;p=gdcm.git diff --git a/Testing/TestPrintAllDocument.cxx b/Testing/TestPrintAllDocument.cxx index d083bf07..c1580202 100644 --- a/Testing/TestPrintAllDocument.cxx +++ b/Testing/TestPrintAllDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestPrintAllDocument.cxx,v $ Language: C++ - Date: $Date: 2005/10/25 14:52:31 $ - Version: $Revision: 1.10 $ + Date: $Date: 2005/11/18 11:44:33 $ + Version: $Revision: 1.11 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -101,10 +101,12 @@ int TestPrintAllDocument(int, char *[]) f->GetEntryString(0x0020,0x0037); if ( strImageOrientationPatient != gdcm::GDCM_UNFOUND ) { - gdcm::Orientation o; - gdcm::OrientationType orient = o.GetOrientationType( f ); + gdcm::Orientation *o = gdcm::Orientation::New(); + + gdcm::OrientationType orient = o->GetOrientationType( f ); std::cout << " ---------------------- Orientation " << orient << std::endl; + o->gdcm::Orientation::Delete(); } if( f->IsReadable() )