Follow-up change for coding styles, boundary checks etc.
Follow-up change for coding styles, boundary checks etc.

Change-Id: Ice87da75429c54987f78c2897e6f4ded28cd8614

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