Quote: "but I don't want her to consider it acceptable behaviour to swear all the time because she hears other people doing it around her."
Whether or not she considers it acceptable behavior will be up to you. Not up to others around her. Parenting is not only protecting, but setting the example.
You can't keep your daughter from seeing other people smoke, but whether or not she considers doing it is in large part dependent on what you show and tell her. If you protect your daughter to the point of hiding her from society, what happens later when she actually encounters it and doesn't know how to deal with it?
Too many people expect some kind of public education/upbringing of their children, and get angry when it doesn't turn out well. We like to pass parenting off to others - school, television, churches, etc - and don't take responsibility for our own children.
Our children will see and hear much worse than swearing before they come of age. You can complain about it but you won't change it. Each new generation is exposed to an ever worsening environment of hate and indifference. How they respond to it will in large part be dependent on what we have told and shown them at home.
Best.
I'm sorry, my answers are limited. You must ask the right question.