From kde-commits Fri Oct 31 20:53:12 2003 From: Scott Wheeler Date: Fri, 31 Oct 2003 20:53:12 +0000 To: kde-commits Subject: koffice/krita/core/color_strategy X-MARC-Message: https://marc.info/?l=kde-commits&m=106764808002480 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());