A search for a doubly-charged Higgs boson in pp collisions at sqrt(s) = 7 TeV