MathAtom & MathData::operator[](pos_type pos)
{
- LBUFERR(pos < size(), _("Invalid MathData."));
+ LBUFERR(pos < size());
return base_type::operator[](pos);
}
MathAtom const & MathData::operator[](pos_type pos) const
{
- LBUFERR(pos < size(), _("Invalid MathData."));
+ LBUFERR(pos < size());
return base_type::operator[](pos);
}
void MathData::insert(size_type pos, MathData const & ar)
{
- LBUFERR(pos < size(), _("Invalid MathData."));
+ LBUFERR(pos <= size());
base_type::insert(begin() + pos, ar.begin(), ar.end());
}
}
+#if 0
namespace {
bool isInside(DocIterator const & it, MathData const & ar,
}
}
-
+#endif
void MathData::metrics(MetricsInfo & mi, Dimension & dim) const