]> git.lyx.org Git - lyx.git/blobdiff - src/InsetList.C
Alfredo's second patch
[lyx.git] / src / InsetList.C
index 7aa023acfbae9dc9c8c1565264be64391455ed6f..95471333836113139334f4de111a9b97dbf2a8e8 100644 (file)
@@ -3,7 +3,7 @@
 #include "InsetList.h"
 #include "debug.h"
 
-#include "insets/inset.h"
+#include "insets/updatableinset.h"
 
 #include <algorithm>
 
@@ -19,7 +19,8 @@ struct MatchIt {
        /// used by lower_bound and upper_bound
        inline
        int operator()(InsetList::InsetTable const & a,
-                      InsetList::InsetTable const & b) const {
+                      InsetList::InsetTable const & b) const
+       {
                return a.pos < b.pos;
        }
 };
@@ -65,7 +66,7 @@ void InsetList::iterator::setInset(Inset * inset)
 }
 
 
-InsetList::~InsetList() 
+InsetList::~InsetList()
 {
        // If we begin storing a shared_ptr in the List
        // this code can be removed. (Lgb)
@@ -156,7 +157,7 @@ Inset * InsetList::release(pos_type pos)
        return 0;
 }
 
-       
+
 Inset * InsetList::get(pos_type pos) const
 {
        InsetTable search_elem(pos, 0);
@@ -231,9 +232,9 @@ bool operator==(InsetList::iterator const & i1,
                InsetList::iterator const & i2)
 {
        return i1.it == i2.it;
-       
+
 }
-       
+
 
 bool operator!=(InsetList::iterator const & i1,
                InsetList::iterator const & i2)