A Queensland magistrate has admonished a woman who threw food at a homeless man and punched him in the face at the end of a drunken night out.

After telling police "he's homeless and that's his fault. He hasn't gone to any effort to make his life better", Sarah Ann Smith, 27, was told nobody cared about her attitude to homelessness.

Sarah Ann Smith punched a homeless man after getting into an argument. Credit:Andrew Quilty

She appeared in the Brisbane Magistrates Court with a child in tow on Wednesday to answer one charge of common assault.

The assault took place in the Brisbane CBD about 5am on April 21, following an argument between the woman and the homeless man.