contains() + operator[] is searching twice, just find and use the resulting iterator
contains() + operator[] is searching twice, just find and use the resulting iterator

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

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