From koffice-devel Thu Oct 23 23:14:05 2003 From: porten () froglogic ! com Date: Thu, 23 Oct 2003 23:14:05 +0000 To: koffice-devel Subject: Re: KoColor && CMYK -> RGB X-MARC-Message: https://marc.info/?l=koffice-devel&m=106695138306025 On Fri, 24 Oct 2003, Kevin Krammer wrote: > Wouldn't it be better to either check if the pointers are != 0 or use int& > instead of int*? > > As it seems you need all four parameters anyway, I think int& would be > better. > Also makes the code easier to read, no explizit derefencing needed. It may make the implementation of this function easier to read (I actually don't think so) but it definitely makes all those places _using_ the function harder to read. One of the few topics where I agree with Stroustrup. Harri. _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel