One thing that's changed big time in offices is that there are no secretaries any more. Everybody does their own typing on computers now. So there is no longer a job category for women that comes with the understanding that this is the person it's OK to sexually harass. And of course anti-harassment laws.
Which doesn't mean harassment has completely ended, unfortunately: Vito Lopez Sexual Harassment Case Cost Taxpayers Yet More Money.