coverity#1302664 Unchecked dynamic_cast
coverity#1302664 Unchecked dynamic_cast

and

coverity#1302661 Unchecked dynamic_cast

Change-Id: I29735d3627c9d600465c02482002134cd196e098

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