… I don’t think so? You might be thinking of 5r where that definitely is a rule, but as far as I can tell it works fine in 3.5.

“The rogue’s attack deals extra damage any time her target would be denied a Dexterity bonus to AC (whether the target actually has a Dexterity bonus or not), or when the rogue flanks her target.”