Hart harassing Doralee could have been stopped by...
1. Dwayne, Doralee's husband, visiting Consolidated. Now, I realize this couldn't have happened, because the motif of the film was women getting things done without a man helping them. Still, I relish the idea of that good ol' boy sitting glowering in reception. He wouldn't even have to speak to or approach Hart to get the message across!
2. Society evolving to the point where Doralee would know she didn't have to "forgive and [forget] because I need this job!" There was no HR to report Hart's inappropriate words and actions to. There's also no indication that she ever told Dwayne that her boss made her uncomfortable, probably because she saw it as strictly her problem to deal with. And as Violet said, "It's the same all over anyway."