Simplify this condition a bit
Simplify this condition a bit

Change-Id: Iceef995be9ff55306550e56a0be87dddab7a78c3

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