Melt the butter and chocolate using a double boiler.
Add sugar and mix well.
Add the eggs one at a time, mixing after each addition.
Sift in the cake flour and cocoa powder, then mix.
Pour the batter into a baking pan.
Bake in a preheated oven at 170°C for 25 minutes.