From 8d48517d991f26a09ecd10890b43e2bb9f786235 Mon Sep 17 00:00:00 2001 From: jpr Date: Wed, 8 Feb 2006 10:13:55 +0000 Subject: [PATCH] Avoid dciodvfy warning when creating ex-nihilo a Dicom File --- src/gdcmFileHelper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gdcmFileHelper.cxx b/src/gdcmFileHelper.cxx index 88069e5c..3e13ecd8 100644 --- a/src/gdcmFileHelper.cxx +++ b/src/gdcmFileHelper.cxx @@ -4,8 +4,8 @@ Module: $RCSfile: gdcmFileHelper.cxx,v $ Language: C++ - Date: $Date: 2006/02/03 16:37:48 $ - Version: $Revision: 1.90 $ + Date: $Date: 2006/02/08 10:13:55 $ + Version: $Revision: 1.91 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1606,7 +1606,7 @@ void FileHelper::CheckMandatoryElements() gdcm::Orientation *o = gdcm::Orientation::New(); std::string ori = o->GetOrientation ( FileInternal ); o->Delete(); - if (ori != "\\" ) + if (ori != "\\" && ori != GDCM_UNFOUND) CheckMandatoryEntry(0x0020,0x0020,ori); else CheckMandatoryEntry(0x0020,0x0020,""); -- 2.48.1