changeset 2076:ec2ad6ac741e

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 Aug 2016 14:43:57 +0200
parents bec08e9236f5
children 14ce887a9182
files OrthancServer/FromDcmtkBridge.cpp
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
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;