If you substitute ‘Oh sugar!’ for ‘Oh shit!’ because you’re thinking about the Legion of Decency, you are breaking the unspoken contract that exists between writer and reader – your promise to express the truth of how people act and talk through the medium of a made-up story.