I'm a swearer, always have been, which DH knew when he met me.
However I have always, always tried to curb it around the kids (his older kids, my DSC and our joint DC).
A few times recently DH has 'told me off' in front of his kids (teens) for saying bloody hell or the other day it was saying I was 'pissed off' about something at work.
I didn't say anything straight away but said to him afterward that I felt he was being patronising and to not tell me off like that again in front of people or we'd be having the argument about it in front of them. If I'd been saying 'oh this fucking twatting cunt at work' then fair enough but saying bloody and piss once, in front of teenagers who probably weren't even listening to us at the time?!
He thinks it's up to him what his kids hear... I totally disagree and think you can't police other people like that, in their own house especially.