Salt does the same thing in pastry that it does in cooking - It enhances flavor! It rounds out flavor, and it makes everything seem to come together. It also makes you thirst for more. Salt also has...
According to The Cake Bible, "the only function of salt in a cake is to accentuate or heighten flavor. WIthout salt, the cake would have a decidedly flat taste." It helps to intensify the sweet taste...