The relevant dialogue from "Profit and Lace," from Chakoteya's transcript site:
Sure sounds like gender reassignment surgery to me, complete with hormone therapy.
ROM: Doctor Bashir certainly did a wonderful job on you. I'd call the operation a complete success.
LEETA: It must have been a very delicate procedure.
Also, when Brunt attempts to out Quark as a male in disguise:LEETA: There go his hormones.
ROM: You mean, her hormones.
(With his back to us, Quark opens his dress to show Nilva his full monty.)
QUARK: Now are you sure?
NILVA: Oh, completely.
BRUNT: I tell you that is not a female.
NILVA: Well, she's close enough for me.
Sure sounds like gender reassignment surgery to me, complete with hormone therapy.