From 0fd5b1d43f733fc944d37e1958984c96e6061122 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 5 Jan 2010 21:01:33 +0000 Subject: [PATCH] Minor style things, and a little constness. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32779 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/KeyMap.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/KeyMap.cpp b/src/KeyMap.cpp index beb68a0f0c..bf0172ed9a 100644 --- a/src/KeyMap.cpp +++ b/src/KeyMap.cpp @@ -486,14 +486,14 @@ KeyMap::BindingList KeyMap::listBindings(bool unbound, KeyMap::ItemType tag) con listBindings(list, KeySequence(0, 0), tag); if (unbound) { LyXAction::const_iterator fit = lyxaction.func_begin(); - LyXAction::const_iterator fit_end = lyxaction.func_end(); - for (; fit != fit_end; ++fit) { + LyXAction::const_iterator const fen = lyxaction.func_end(); + for (; fit != fen; ++fit) { FuncCode action = fit->second; bool has_action = false; - BindingList::const_iterator it = list.begin(); - BindingList::const_iterator it_end = list.end(); - for (; it != it_end; ++it) - if (it->request.action == action) { + BindingList::const_iterator bit = list.begin(); + BindingList::const_iterator const ben = list.end(); + for (; bit != ben; ++bit) + if (bit->request.action == action) { has_action = true; break; } -- 2.39.2