The sentence should read “Dealing with gossip in the office is as easy as avoiding gossip.” The original sentence is incorrect, as it assumes that listening to gossip is okay so long as you don’t spread it. In fact, gossip hurts even those who simply listen to it. Avoiding gossip is the only positive way to deal with it.