Use inline function over preprocessor macro.
Use inline function over preprocessor macro.

Change-Id: I08d83f274af1ce891235c2f24d5e4b697de19309

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