diff Framework/Orthanc/Core/Images/JpegWriter.h @ 54:06847108819c

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Nov 2016 12:59:50 +0100
parents dc730d11b101
children
line wrap: on
line diff
--- a/Framework/Orthanc/Core/Images/JpegWriter.h	Thu Nov 17 15:47:09 2016 +0100
+++ b/Framework/Orthanc/Core/Images/JpegWriter.h	Thu Nov 24 12:59:50 2016 +0100
@@ -46,12 +46,14 @@
                                      PixelFormat format,
                                      const void* buffer);
 
+#if ORTHANC_SANDBOXED == 0
     virtual void WriteToMemoryInternal(std::string& jpeg,
                                        unsigned int width,
                                        unsigned int height,
                                        unsigned int pitch,
                                        PixelFormat format,
                                        const void* buffer);
+#endif
 
   private:
     uint8_t  quality_;