fix dynamic_casts that were unchecked for 0L, as well as some other minor cleanups (whitespace mostly)
fix dynamic_casts that were unchecked for 0L, as well as some other
minor cleanups (whitespace mostly)

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

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