This is more daring, but she's going to have it under clothes and robes, after all, and she's been in the loo long enough. She casts her quick contraceptive charm, making a note to ask Madam Pomfrey if there is a longer-term possibility so she doesn't have to do it every day, and yanks her robes back over her head.