I think gun powder can degrade in heat, so I would definitely toss the cartridges. They might be fine, but its not worth the risk.
The heat may cause the springs to lose some of their "bounce", so those should probably be checked out.
Lastly, don't hide guns in the oven. And don't leave guns...