sal_uInt16 to more proper types + minor optimizations
sal_uInt16 to more proper types + minor optimizations

Change-Id: I8873a1ec910024b6fc25490891dc2e2c8d20d5d1

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core