X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FInsetList.C;h=22e9273ab6223783af9b0baa739fc8431fe96186;hb=8765ab59cdddad67284007813ef25934ea0042ce;hp=9ddece49b9a0e7239da832dac87db76674520aa5;hpb=0da12b129af772920dbb2e0fef37d04a2dfbe0d0;p=lyx.git diff --git a/src/InsetList.C b/src/InsetList.C index 9ddece49b9..22e9273ab6 100644 --- a/src/InsetList.C +++ b/src/InsetList.C @@ -20,7 +20,8 @@ #include "insets/insetbranch.h" -using lyx::pos_type; + +namespace lyx { using std::endl; using std::lower_bound; @@ -70,7 +71,7 @@ InsetList::const_iterator InsetList::insetIterator(pos_type pos) const } -void InsetList::insert(InsetBase * inset, lyx::pos_type pos) +void InsetList::insert(InsetBase * inset, pos_type pos) { List::iterator end = list_.end(); List::iterator it = insetIterator(pos); @@ -135,3 +136,6 @@ void InsetList::decreasePosAfterPos(pos_type pos) --it->pos; } } + + +} // namespace lyx