]> Creatis software - gdcm.git/blobdiff - src/gdcmDictEntry.cxx
gdcmSequence renamed to gdcmSerie, to comply with Dicom documentation.
[gdcm.git] / src / gdcmDictEntry.cxx
index 7ad40bee7d9924c336d74836b6a5c0bfc8498598..0bc2afa901276bded0774da7b48255373a2a723b 100644 (file)
@@ -39,7 +39,7 @@ gdcmDictEntry::gdcmDictEntry(guint16 InGroup, guint16 InElement,
  * \brief   concatenates 2 guint16 (supposed to be a Dicom group number 
  *                                             and a Dicom element number)
  * @param  group the Dicom group   number used to build the tag
- * @param  group the Dicom element number used to build the tag
+ * @param  element the Dicom element number used to build the tag
  * return the built tag
  */
 
@@ -60,10 +60,12 @@ TagKey gdcmDictEntry::TranslateToKey(guint16 group, guint16 element) {
  *              is unset then overwrite it.
  * @param NewVr New V(alue) R(epresentation) to be set.
  */
-void gdcmDictEntry::SetVR(std::string NewVr) {
+void gdcmDictEntry::SetVR(std::string NewVr) 
+{
        if ( IsVRUnknown() )
                vr = NewVr;
-       else {
+       else 
+   {
                dbg.Error(true, "gdcmDictEntry::SetVR",
                          "Overwriting vr might compromise a dictionary");
        }