That's why they normally ask if/when you've had claims - to determine the no claims discount on the base policy premium.Never heard of no claims discount on either contents or buildings insurance.
They may allow a discount for having no claims. But there is no "no claims bonus" that you transfer from policy to policy like in motor insurance.