X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDictEntry.cxx;h=b74c9fdb5db21639ef0e1384038a69202f6e1d46;hb=2f88e766a552cc0d0a6bf009bc26dea6a872c148;hp=b754cc2c53088a06c5923539e54bdac85d7f560a;hpb=2c23b5e3fbe71eb3c945b8376b746c533a759901;p=gdcm.git diff --git a/src/gdcmDictEntry.cxx b/src/gdcmDictEntry.cxx index b754cc2c..b74c9fdb 100644 --- a/src/gdcmDictEntry.cxx +++ b/src/gdcmDictEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDictEntry.cxx,v $ Language: C++ - Date: $Date: 2005/01/07 16:07:01 $ - Version: $Revision: 1.32 $ + Date: $Date: 2005/01/07 22:06:47 $ + Version: $Revision: 1.37 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -78,8 +78,7 @@ void DictEntry::SetVR(TagName const &vr) } else { - dbg.Error(true, "DictEntry::SetVR", - "Overwriting VR might compromise a dictionary"); + gdcmErrorMacro( "Overwriting VR might compromise a dictionary"); } } @@ -93,12 +92,11 @@ void DictEntry::SetVM(TagName const &vm) { if ( IsVMUnknown() ) { - VR = vr; + VM = vm; } else { - dbg.Error(true, "DictEntry::SetVM", - "Overwriting VM might compromise a dictionary"); + gdcmErrorMacro( "Overwriting VM might compromise a dictionary"); } } //-----------------------------------------------------------------------------