My English Grammar written by Raymond Murphy says after CAN'T STAND we must use a gerund, not an infinitive, but in Longman English dictionary,It gives an example with CAN'T STAND + INFINITIVE: Quote :
can't stand
spoken used to say that you do not like someone or something at all, or that you think that something is extremely unpleasant [= can't bear]:
I can't stand bad manners.
I know hecan't stand the sight of me.
can't stand (somebody/something) doing something
Lily can't stand working in an office.
I can't stand people smoking around me when I'm eating.