162 GC LyXColorHandler::getGCLinepars(PainterBase::line_style ls,
    163                           PainterBase::line_width lw, LColor::color c)
    164 {
    165         //if (lyxerr.debugging()) {
    166         //      lyxerr << "Painter drawable: " << drawable() << endl;
    167         //}
    168
    169         int index = lw + (ls << 1) + (c << 3);

This hash does not ensure a unique key !

john

-- 
"Faced with the prospect of rereading this book, I would rather have 
 my brains ripped out by a plastic fork."
        - Charles Cooper on "Business at the Speed of Thought" 

Reply via email to