I think it was in "The Dilbert Future" where Scott Adams predicted that people will always be lazy, horny, and stupid. In this case, he was too lazy to say the compliment to Dolly, horny enough to say it to someone, and stupid enough to phrase it so the compliment was instead degrading.
How is it sexist to make a private comment about another's appearance? Was it dumb, yes, but he's done about as much harm as anyone else who's found someone attractive and kept it to themselves. There is nothing shameful about sexual desire.
More human by the minute!