4. Salary.

(a) by the amount of present pension, and
(b) if he had, before assuming office, received, in lieu of a portion of the pension due to him in respect of such previous service, the commuted value thereof, by the amount of that portion of the pension.