diff OrthancServer/Search/HierarchicalMatcher.cpp @ 1929:cda5b0ab4ce5

ORTHANC_MAXIMUM_TAG_LENGTH made explicit
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Mar 2016 14:28:59 +0100
parents b1291df2f780
children 6301bbcbcaed
line wrap: on
line diff
--- a/OrthancServer/Search/HierarchicalMatcher.cpp	Mon Mar 21 14:12:31 2016 +0100
+++ b/OrthancServer/Search/HierarchicalMatcher.cpp	Mon Mar 21 14:28:59 2016 +0100
@@ -122,7 +122,8 @@
       else
       {
         std::auto_ptr<DicomValue> value(FromDcmtkBridge::ConvertLeafElement
-                                        (*element, DicomToJsonFlags_None, encoding));
+                                        (*element, DicomToJsonFlags_None, 
+                                         ORTHANC_MAXIMUM_TAG_LENGTH, encoding));
 
         if (value->IsBinary())
         {
@@ -221,7 +222,8 @@
         }
 
         std::auto_ptr<DicomValue> value(FromDcmtkBridge::ConvertLeafElement
-                                        (*element, DicomToJsonFlags_None, encoding));
+                                        (*element, DicomToJsonFlags_None, 
+                                         ORTHANC_MAXIMUM_TAG_LENGTH, encoding));
 
         if (value->IsNull() ||
             value->IsBinary() ||