Effect on will of will-maker's marriage or civil union ending
(1)This section applies when—
(a)a will-maker makes a will; and
(b)after the will-maker makes the will, an order of a kind described in subsection (2) is made to which the will-maker is a party; and
(c)the order is in force when the will-maker dies; and
(d)the will contains a provision of a kind described in subsection (3).
..............................
(4)The following apply to a provision of a kind described in subsection (3):
(a)the provision is void; and
(b)in relation to the provision, the will must be read as if the will-maker's spouse or partner died immediately before the will-maker.