fix for crash
fix for crash

svn path=/trunk/kdelibs/kate/; revision=195468

hlamer/kate,sandsmark/kate,hlamer/kate,hlamer/kate,sandsmark/kate,DickJ/kate,hlamer/kate,hlamer/kate,cmacq2/kate,hlamer/kate,jfmcarreira/kate,jfmcarreira/kate,hlamer/kate,hlamer/kate,sandsmark/kate,cmacq2/kate,sandsmark/kate,hlamer/kate,DickJ/kate,DickJ/kate,DickJ/kate,cmacq2/kate,jfmcarreira/kate,hlamer/kate