solaris: fix compilation error by adding temp var holding const_cast result
solaris: fix compilation error by adding temp var holding const_cast result

Change-Id: I3e42bb8dae6ad628f5414d8e46616432a704679f

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