To eat pastries in dreams is synonymous with happiness. However, to eat sweets compulsively—that is, gluttonously—reveals a feeling of anxiety and frustration. Another characteristic dream, which is often accompanied by a strong feeling of guilt, is when you steal a cake and hide it to eat it. This image alludes to an excess of sentimentalism which causes conflict with more realistic people.
If the cake appears divided in portions it means that there are things you should share. Perhaps you are being too selfish with certain people in your life. Finally, a pastry can refer to your emotional life, to the slice of affection and love that you need from others but do not receive.
[1]Symbolic of gossip, Prov. 18:8
[2]