Excellent point. I was 24cm away from the flower for that shot and standing about a foot off the bumper in the shot of the blue truck. How would that be affected? Also, what about the right side of the frame where it looks like the building is being sucked into the tornado from an internet based version of the wizard of oz?
Honestly I don't see any actual distortion in any of your pics. And by actual distortion I mean Barrel or Pin-cushion which are the only two kinds of distortion.(you also get a mix of those sometimes...) But again by standing so close you get those stretchy "distortions" but they appear pretty rectilinear to me.
Which is also my experience with the 17-40mm so I don't know why the OP is complaining about the 17-40mm having distortion.
As for those windows... I think the photographer was just holding the camera at a slightly weird angle Which can do that... or he tried to fix it and wrecked it.
And besides you only notice actual barrel/pin-cushion distortion is when you shoot a building with well defined lines.





