Green’s Dictionary of Slang

dolly n.2

[? they have as much sense as a child’s doll]

anyone who has committed a faux pas or social solecism.

[UK]Punch in DSUE (1984) 332/1: Dolly [...] any one who has made a faux pas.