Fix static linkage and use SAL_N_ELEMENTS
Fix static linkage and use SAL_N_ELEMENTS

Change-Id: Iced21e010b3c06a5f36731f63d41ab55a5c8a2e4

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