X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocEntrySet.cxx;h=0d69d0253fd8a7932748e05ffb005a3e3cc56ad4;hb=d97e9432393b8515630a11586e0e95df6be9eb43;hp=0a0760495fed24ee30f495d5387e492abd51b355;hpb=c03bc9b5e7d49126a10d49f78682410a5500c412;p=gdcm.git diff --git a/src/gdcmDocEntrySet.cxx b/src/gdcmDocEntrySet.cxx index 0a076049..0d69d025 100644 --- a/src/gdcmDocEntrySet.cxx +++ b/src/gdcmDocEntrySet.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocEntrySet.cxx,v $ Language: C++ - Date: $Date: 2004/11/16 10:25:53 $ - Version: $Revision: 1.26 $ + Date: $Date: 2005/01/05 15:38:28 $ + Version: $Revision: 1.28 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -19,6 +19,7 @@ #include "gdcmDebug.h" #include "gdcmCommon.h" +#include "gdcmDictSet.h" #include "gdcmGlobal.h" #include "gdcmException.h" #include "gdcmDocEntry.h" @@ -235,7 +236,7 @@ DocEntry *DocEntrySet::NewDocEntryByName(TagName const & name) DictEntry *newTag = pubDict->GetDictEntryByName(name); if (!newTag) { - newTag = NewVirtualDictEntry(0xffff, 0xffff, "LO", "unkn", name); + newTag = NewVirtualDictEntry(0xffff, 0xffff, "LO", GDCM_UNKNOWN, name); } DocEntry* newEntry = new DocEntry(newTag);