Trivial "avoid at(-1) call" fix    int i = subMenusName.findIndex (HlManager::self()->hlSection(doc->hlMode()));    -  if (subMenus.at(i))    +  if (i >= 0 && subMenus.at(i)
Trivial "avoid at(-1) call" fix
   int i = subMenusName.findIndex (HlManager::self()->hlSection(doc->hlMode()));
   -  if (subMenus.at(i))
   +  if (i >= 0 && subMenus.at(i)

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

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