diff OrthancServer/ServerContext.cpp @ 2120:4b02ec79728a

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Nov 2016 11:19:19 +0100
parents fabf7820d1f1
children 2ecc95a239f7
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp	Sun Nov 06 11:39:04 2016 +0100
+++ b/OrthancServer/ServerContext.cpp	Mon Nov 07 11:19:19 2016 +0100
@@ -189,7 +189,7 @@
       resultPublicId = hasher.HashInstance();
 
       Json::Value simplifiedTags;
-      Toolbox::SimplifyTags(simplifiedTags, dicom.GetJson(), DicomToJsonFormat_Human);
+      ServerToolbox::SimplifyTags(simplifiedTags, dicom.GetJson(), DicomToJsonFormat_Human);
 
       // Test if the instance must be filtered out
       bool accepted = true;
@@ -298,7 +298,7 @@
     {
       if (e.GetErrorCode() == ErrorCode_InexistentTag)
       {
-        Toolbox::LogMissingRequiredTag(dicom.GetSummary());
+        ServerToolbox::LogMissingRequiredTag(dicom.GetSummary());
       }
 
       throw;