The law has only recently changed on this.... whereas you used to just accrue statutory holiday entitlement whilst on maternity leave, now women on maternity leave are entitled to the same holiday entitlement as all other employees (e.g. you'll get the company holiday entitlement, rather than just the statutory).