The general assembly, in cases not provided for in this constitution, shall fix the term of office and the compensation of all officers; but no change therein shall affect the salary of any officer during his existing term, unless the office be abolished.