A woman who dresses provocatively in the office is a distraction. Far be it from me to tell women how to dress, but most women do not understand the effect they have on men, and of those who do, very few understand that men are, essentially, helpless when it comes to their reaction (even, as I said, if it is a reaction that they suppress). Heterosexual men who do NOT have this aspect of male nature are in the vast minority, although thy do exist. It is a part of being male, and as such, I refuse to apologize for it.
On the other side of the coin, if you work closely with 10 other people of the opposite sex, it confuses me as to why you wouldn't think one of those people would be attracted to you. Who else would they be attracted to?
I was totally with you until the "I refuse to apologize for it" part. I'll apologize for it, because that's a part of being decent. I'll also explain the effect that kind of clothing has, and if the lady in question doesn't change the way she dresses, I'll inform HR so they are aware.
All of these things are, at best, accidents. However, unlike normal accidents, where you could have prevented them by close scrutiny of your environment, this kind of accident may have an original cause that puts you somewhere in the "chain of responsibility", but what actually ended up doing the damage was pure probability and physics. These things are usually called "acts of God", or, to be more empirical, "acts of nature."
Our evolutionary urges and drives are such an act. Why apologize for them? What are you actually apologizing for? Being unable to compensate for them?
Would you accept "the estrogen made me do it" from a woman as an excuse for behaving incivilly?
To simplify: there is no need to apologize for your urge to punch someone you don't like in the face. There is no need for them to apologize for defending themselves, or calling the police. Both make subjective sense. Apologies are for when you were wrong given your own perspective.
What I don't apologize for is having the urge in the first place. As another commentor well said, you may as well apologize for a force of nature.
Added the fact that in most tech companies guys outnumber girls 2 to 1 or worse (i am including marketing, sales, hr also), if you are a single and decent looking girl you will probably be hit on a lot.
Not sure if there is a solution to this.
As a counterpoint, i worked in a company of about 80 people, where 60 were female, and i got hit on a lot. I actually enjoyed it when girls were flirting with me. But that's the main difference i guess, women are more likeley to be more annoyed from non-wanted advanced than men are, call it evolution or social, i don't care.
The fact is that being the one differnt from your collegues, might make you feel a little bit like a fish out of water. And in this case is being female, where you are probably outnumbered 4 to 1 or worse.