Fix crash on exit using KDE interface This is slightly modified version of patch from Lubos Lunak <llunak@suse.cz>.
Fix crash on exit using KDE interface
This is slightly modified version of patch from Lubos Lunak
<llunak@suse.cz>.

This fixes downstream bugs:
https://bugs.gentoo.org/show_bug.cgi?id=394533
https://bugs.launchpad.net/bugs/925049

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