[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita/core/builder
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2005-03-23 10:49:41
Message-ID: 20050323104941.D92FF3CD () office ! kde ! org
[Download RAW message or body]

CVS commit by rempt: 

Added ifdef for profile functions that are not yet in ImageMagick 5 -- or
so it appears.
CCMAIL:steini.ffo@gmx.de


  M +4 -1      kis_image_magick_converter.cc   1.39


--- koffice/krita/core/builder/kis_image_magick_converter.cc  #1.38:1.39
@@ -79,4 +79,7 @@ namespace {
         KisProfileSP getProfileForProfileInfo(const Image * image, KisStrategyColorSpaceSP cs) 
         {
+#ifndef HAVE_MAGICK6
+                return 0;
+#else
 
                 if (image->profiles == NULL)
@@ -117,5 +120,5 @@ namespace {
                 }
                 return p;
-
+#endif
         }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic