diff OrthancServer/Sources/OrthancFindRequestHandler.cpp @ 4105:c02a2d9efbc2

move FromDcmtkBridge::ExecuteToDicom() to LuaFunctionCall, to remove dependency of DCMTK on Lua
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 06 Jul 2020 13:48:10 +0200
parents 9214e3a7b0a2
children 1ec3e1e18f50
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancFindRequestHandler.cpp	Mon Jul 06 11:45:39 2020 +0200
+++ b/OrthancServer/Sources/OrthancFindRequestHandler.cpp	Mon Jul 06 13:48:10 2020 +0200
@@ -478,7 +478,7 @@
       LuaFunctionCall call(lock.GetLua(), LUA_CALLBACK);
       call.PushDicom(source);
       call.PushJson(origin);
-      FromDcmtkBridge::ExecuteToDicom(target, call);
+      call.ExecuteToDicom(target);
 
       return true;
     }