]> Creatis software - gdcm.git/blobdiff - src/gdcmDictEntry.cxx
2005-01-13 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
[gdcm.git] / src / gdcmDictEntry.cxx
index 54c802b63bf40694924d9931ad3375b9942d0400..886dd48912aa37898cb6854c3471e91d4ffe4d53 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/07 16:14:58 $
-  Version:   $Revision: 1.33 $
+  Date:      $Date: 2005/01/10 17:17:52 $
+  Version:   $Revision: 1.38 $
                                                                                 
   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");
    }
 }
 
@@ -87,7 +86,7 @@ void DictEntry::SetVR(TagName const &vr)
 /**
  * \brief       If-and only if-the V(alue) M(ultiplicity)
  * \            is unset then overwrite it.
- * @param vr    New V(alue) M(ultiplicity) to be set.
+ * @param vm    New V(alue) M(ultiplicity) to be set.
  */
 void DictEntry::SetVM(TagName const &vm) 
 {
@@ -97,8 +96,7 @@ void DictEntry::SetVM(TagName const &vm)
    }
    else 
    {
-      dbg.Error(true, "DictEntry::SetVM",
-                       "Overwriting VM might compromise a dictionary");
+      gdcmErrorMacro( "Overwriting VM might compromise a dictionary");
    }
 }
 //-----------------------------------------------------------------------------