The overall rate of price rises slowed to 10.5% in December but dairy and sugar costs grew.