related to tdf#87437:  prevent null pointer function call
related to tdf#87437:  prevent null pointer function call

Fix for change id  Ia98017cbba7d3a43b67764ae0fa6447b7e90ca86

Change-Id: Iad3d689f7a8dd612c31ea80c9502031a2dc0ed70
Reviewed-on: https://gerrit.libreoffice.org/17391
Tested-by: Jenkins <5a4fe08359c7f97380e408c717ef42c86939cd86@libreoffice.org>
Reviewed-by: Caolán McNamara <301f5784f9f6aac04077f24f1e5abc31af69d401@redhat.com>
Tested-by: Caolán McNamara <301f5784f9f6aac04077f24f1e5abc31af69d401@redhat.com>

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