coverity#705115 Using invalid iterator
coverity#705115 Using invalid iterator

Change-Id: Ia8b5a0654ded07d939e8be93a2dea2a6f84165b3
Reviewed-on: https://gerrit.libreoffice.org/2785
Reviewed-by: Björn Michaelsen <e7b7acdb701579ea6e93eb181deb22e8c89dcb50@canonical.com>
Tested-by: Björn Michaelsen <e7b7acdb701579ea6e93eb181deb22e8c89dcb50@canonical.com>

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