]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_iterator.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_iterator.C
index bf207171816772bd13d4ac4560b5f2f43374269e..0ee78e844e46f0d528f7bcd94d601cff4110bf59 100644 (file)
@@ -1,4 +1,3 @@
-
 #include <config.h>
 
 #include "math_iterator.h"
@@ -6,6 +5,7 @@
 #include "debug.h"
 #include "support/LAssert.h"
 
+using namespace lyx::support;
 
 MathIterator::MathIterator()
 {}
@@ -47,7 +47,7 @@ void MathIterator::push(MathInset * p)
 void MathIterator::pop()
 {
        //lyxerr << "pop: " << endl;
-       lyx::Assert(size());
+       Assert(size());
        pop_back();
 }
 
@@ -115,8 +115,8 @@ void MathIterator::operator++()
 void MathIterator::jump(difference_type i)
 {
        back().pos_ += i;
-       //lyx::Assert(back().pos_ >= 0);
-       lyx::Assert(back().pos_ <= cell().size());
+       //Assert(back().pos_ >= 0);
+       Assert(back().pos_ <= cell().size());
 }