When the profit-sharing is distributed in proportion to salaries, the salaries to be taken into account for periods of leave, maternity leave, paternity leave, childcare leave, adoption leave and bereavement leave, as well as periods of suspension following an accident at work or occupational disease and periods of quarantine, are those that the beneficiary would have received had he been present.