mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Minor renaming. We don't have any other iterators here, so
const_iterator is fine. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32778 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
787b9eee3b
commit
83b3e02f69
@ -485,8 +485,8 @@ KeyMap::BindingList KeyMap::listBindings(bool unbound, KeyMap::ItemType tag) con
|
||||
BindingList list;
|
||||
listBindings(list, KeySequence(0, 0), tag);
|
||||
if (unbound) {
|
||||
LyXAction::const_func_iterator fit = lyxaction.func_begin();
|
||||
LyXAction::const_func_iterator fit_end = lyxaction.func_end();
|
||||
LyXAction::const_iterator fit = lyxaction.func_begin();
|
||||
LyXAction::const_iterator fit_end = lyxaction.func_end();
|
||||
for (; fit != fit_end; ++fit) {
|
||||
FuncCode action = fit->second;
|
||||
bool has_action = false;
|
||||
|
@ -3508,13 +3508,13 @@ bool LyXAction::funcHasFlag(FuncCode action,
|
||||
}
|
||||
|
||||
|
||||
LyXAction::const_func_iterator LyXAction::func_begin() const
|
||||
LyXAction::const_iterator LyXAction::func_begin() const
|
||||
{
|
||||
return lyx_func_map.begin();
|
||||
}
|
||||
|
||||
|
||||
LyXAction::const_func_iterator LyXAction::func_end() const
|
||||
LyXAction::const_iterator LyXAction::func_end() const
|
||||
{
|
||||
return lyx_func_map.end();
|
||||
}
|
||||
|
@ -93,13 +93,13 @@ public:
|
||||
bool funcHasFlag(FuncCode action, FuncAttribs flag) const;
|
||||
|
||||
/// iterator across all real actions
|
||||
typedef FuncMap::const_iterator const_func_iterator;
|
||||
typedef FuncMap::const_iterator const_iterator;
|
||||
|
||||
/// return an iterator to the start of all real actions
|
||||
const_func_iterator func_begin() const;
|
||||
const_iterator func_begin() const;
|
||||
|
||||
/// return an iterator to the end of all real actions
|
||||
const_func_iterator func_end() const;
|
||||
const_iterator func_end() const;
|
||||
|
||||
private:
|
||||
/// populate the action container with our actions
|
||||
|
Loading…
Reference in New Issue
Block a user