The difference is that working in porn is a choice to make yourself a sex-object, while objectifying women with sexist jokes is not a choice by the people affected (women). To retain the same context, it would be the difference between choosing to work in porn vs. that choice being made for you.