Look into koffice-1.6.3/karbon/render/xrgbrender.
diego: koffice-1.6.3 refers to kde3, see bug 271547
Yes of course I know, I used to maintain that crap :P