The idea that no gentleman ever swears is all wrong. He can swear and still be a gentleman if he does it in a nice and benevolent and affectionate way.
" ... It is not my desire to wound the feelings of any person with whom I am connected in family bonds. I may be a hypocrite," said Mr. Pecksniff, cuttingly, "but I am not a brute."