coverity#738979 Use after free
coverity#738979 Use after free

Change-Id: I843556f18542ac601fd7e16c6f51218ef913de31
Reviewed-on: https://gerrit.libreoffice.org/2766
Reviewed-by: Fridrich Strba <cc5239b4c84e795cbd430bca0f77cadba002516f@documentfoundation.org>
Tested-by: Fridrich Strba <cc5239b4c84e795cbd430bca0f77cadba002516f@documentfoundation.org>

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