fix crash found when exploring fdo#50697
fix crash found when exploring fdo#50697

Change-Id: Ie781c2534cb41104dd3d91d4370639e98baa8112

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