diff OrthancServer/FromDcmtkBridge.cpp @ 2076:ec2ad6ac741e

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 Aug 2016 14:43:57 +0200
parents 4a151d26c98a
children a657f7772e69
line wrap: on
line diff
--- a/OrthancServer/FromDcmtkBridge.cpp	Tue Aug 16 12:49:38 2016 +0200
+++ b/OrthancServer/FromDcmtkBridge.cpp	Wed Aug 17 14:43:57 2016 +0200
@@ -588,10 +588,9 @@
         {
           node["Name"] = tagName;
 
-          DcmTag tagbis(tag.GetGroup(), tag.GetElement());
-          if (tagbis.getPrivateCreator() != NULL)
+          if (element.getTag().getPrivateCreator() != NULL)
           {
-            node["PrivateCreator"] = tagbis.getPrivateCreator();
+            node["PrivateCreator"] = element.getTag().getPrivateCreator();
           }
 
           return node;