Where the salary attached to any office is temporarily reduced for reasons of public economy, all ??pensions, gratuities and other allowances shall be calculated on the normal rate of salary and not on the rate to which such salary has been temporarily reduced.