coverity#1251169 Unchecked dynamic_cast
coverity#1251169 Unchecked dynamic_cast

and

coverity#1251170 Unchecked dynamic_cast

Change-Id: I3a4806aff3b42ea3cf507c7f435bb687cac32c60

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