The improved performance came as cost cuts helped cushion the world's biggest confectioner from a weaker dollar, sluggish European soft drinks sales and higher raw material prices.