changeset 2139:764c9157301b

cleaning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 15:25:09 +0100
parents 41b70d5b44c9
children aa4b8895cd23
files Core/DicomFormat/DicomValue.cpp Core/Images/IImageWriter.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Core/DicomFormat/DicomValue.cpp	Wed Nov 09 15:18:03 2016 +0100
+++ b/Core/DicomFormat/DicomValue.cpp	Wed Nov 09 15:25:09 2016 +0100
@@ -81,7 +81,7 @@
   }
 
   
-#if !defined(ORTHANC_ENABLE_BASE64) || ORTHANC_ENABLE_BASE64 == 1
+#if ORTHANC_ENABLE_BASE64 == 1
   void DicomValue::FormatDataUriScheme(std::string& target,
                                        const std::string& mime) const
   {
--- a/Core/Images/IImageWriter.cpp	Wed Nov 09 15:18:03 2016 +0100
+++ b/Core/Images/IImageWriter.cpp	Wed Nov 09 15:25:09 2016 +0100
@@ -44,7 +44,7 @@
                                          PixelFormat format,
                                          const void* buffer)
   {
-#if !defined(ORTHANC_SANDBOXED) || ORTHANC_SANDBOXED != 1
+#if ORTHANC_SANDBOXED == 0
     std::string compressed;
     WriteToMemoryInternal(compressed, width, height, pitch, format, buffer);
     Toolbox::WriteFile(compressed, path);