Yeah, I agree with smudgie that I don't see how "affairs" are included, as they are surely willingly partaken in by consenting adults.
Even if it was against a policy or rule for people to engage in personal relationships with colleagues, it still isn't harassment.