This is so that in 110v110 V land, you connect the primaries in parallel, and in 230v230 V land you connect them in series. In each case, each primary winding takes about the same current, so the same heating and same transformer action.
One problem with this setup is that if you connect the 110v110 V configuration to a 230v230 V supply, you get smoke.
Modern laptop power supplies with a 'universal' voltage input from 90 V to 260v260 V work in a completely different way, without using a mains input transformer like this.