]> git.lyx.org Git - lyx.git/blobdiff - src/InsetList.C
hopefully fix tex2lyx linking.
[lyx.git] / src / InsetList.C
index 5cd85c14daf946221c05f22b552d68045b7ec193..22e9273ab6223783af9b0baa739fc8431fe96186 100644 (file)
 #include "buffer.h"
 #include "bufferparams.h"
 #include "BranchList.h"
-#include "BufferView.h"
 #include "debug.h"
 
 #include "insets/insetbranch.h"
 
-using lyx::pos_type;
+
+namespace lyx {
 
 using std::endl;
 using std::lower_bound;
@@ -71,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);
@@ -136,3 +136,6 @@ void InsetList::decreasePosAfterPos(pos_type pos)
                --it->pos;
        }
 }
+
+
+} // namespace lyx