comparison Framework/ImageToolbox.cpp @ 216:c35a3a0627b9

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 12 Jan 2021 10:21:36 +0100
parents 1e864138f0da
children 20bc074ec19a
comparison
equal deleted inserted replaced
215:02cb86d07966 216:c35a3a0627b9
48 { 48 {
49 return new Orthanc::Image(format, width, height, false); 49 return new Orthanc::Image(format, width, height, false);
50 } 50 }
51 51
52 52
53 void Embed(Orthanc::ImageAccessor& target, 53 void Embed(const Orthanc::ImageAccessor& target,
54 const Orthanc::ImageAccessor& source, 54 const Orthanc::ImageAccessor& source,
55 unsigned int x, 55 unsigned int x,
56 unsigned int y) 56 unsigned int y)
57 { 57 {
58 if (target.GetFormat() != source.GetFormat()) 58 if (target.GetFormat() != source.GetFormat())