Fix: painting and adding layer on non 8bits images BUG:231418 svn path=/trunk/koffice/; revision=1107025