Yes she would get fired but no legal action could be taken against her.
So you don't care probably because she's a woman. Think about if it was a 30 year old male teacher who said the same thing to you. How would you feel then. Is it ok because she's female? What if a male teacher said it to...