I had to lol at the quote.

"To swear, except when necessary, is becoming to an honorable man." —Quintilian

Given the time frame in which he lived and the obvious context, I have little doubt that by "swear," Quintillian meant "swearing an oath." I'd be willing to bet lots of money that he in no way intended it to be a comment on the use of profane language.