#include "frontends/Painter.h"
#include "textpainter.h"
+using namespace lyx::support;
using std::max;
using std::min;
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);
}
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());
}