Fix deleting templates through Template Manager.
Fix deleting templates through Template Manager.

Change-Id: Ic59d3d666ae5f3808ef7dd7324589a731a841186
Reviewed-on: https://gerrit.libreoffice.org/3076
Reviewed-by: Bosdonnat Cedric <59087915b96ae3a446f0480031f1f2f9af81e3ad@free.fr>
Tested-by: Bosdonnat Cedric <59087915b96ae3a446f0480031f1f2f9af81e3ad@free.fr>

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