]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_data.C
introduce namespace lyx::support
[features.git] / src / mathed / math_data.C
index 457a2ee918c4702d5cfa4fc21f552a6c2f8759de..5857e9d4c78743a171a6b59f4e9899e7e478d88d 100644 (file)
@@ -16,6 +16,7 @@
 #include "frontends/Painter.h"
 #include "textpainter.h"
 
+using namespace lyx::support;
 
 using std::max;
 using std::min;
@@ -41,14 +42,14 @@ void MathArray::substitute(MathMacro const & m)
 
 MathAtom & MathArray::operator[](pos_type pos)
 {
-       lyx::Assert(pos < size());
+       Assert(pos < size());
        return base_type::operator[](pos);
 }
 
 
 MathAtom const & MathArray::operator[](pos_type pos) const
 {
-       lyx::Assert(pos < size());
+       Assert(pos < size());
        return base_type::operator[](pos);
 }
 
@@ -61,7 +62,7 @@ void MathArray::insert(size_type pos, MathAtom const & t)
 
 void MathArray::insert(size_type pos, MathArray const & ar)
 {
-       lyx::Assert(pos <= size());
+       Assert(pos <= size());
        base_type::insert(begin() + pos, ar.begin(), ar.end());
 }