Your edits replaced "piss him off" with "annoy him" and "put him off". You also changed "beer/sweets" to just "sweets".
I do not think beer is an offensive term to anyone and it provides more information than just sweets. In regards to "piss him off" this was not used as an insult. Presumably, you replaced it because you think it is a "curse". I think that is a stretch, but not completely unreasonable. I would avoid using pissed while teaching, but would use it while talking to colleagues. There is also the issue of UK/US meaning. Pissed in the UK means drunk while pissed in the US means annoyed. Curses in answers has been discussed before
What does the offensive flag mean to you
Are expletives (cursing, swear words or vulgar language) allowed on SE sites?
As for what to do, if you see something you think is not nice edit it. If you want confirmation, ask on meta or chat. You can ask either before or after acting. You could also flag the content, but I would reserve this for bigger infractions.