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

List:       kde-commits
Subject:    koffice/krita/core/color_strategy
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2003-10-31 20:53:12
[Download RAW message or body]

CVS commit by wheeler: 

Make it compile (GCC 2.95 doesn't like the implicit conversion from KSharedPtr
to a real pointer when just testing for null.)


  M +1 -1      kis_colorspace_factory_flyweight.cc   1.4


--- koffice/krita/core/color_strategy/kis_colorspace_factory_flyweight.cc  #1.3:1.4
@@ -38,5 +38,5 @@ KisStrategyColorSpaceSP KisColorSpaceFac
         KisStrategyColorSpaceSP p;
 
-        if (device)
+        if (device == 0)
                 p = create(device -> type());
 


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

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