avoid crash on document close if range with attribute around, no notifications in destructor
avoid crash on document close if range with attribute around, no notifications in destructor

svn path=/trunk/KDE/kdelibs/kate/; revision=1117627

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