// returns position of first relation operator in the array
// used for "intelligent splitting"
- int firstRelOp(MathArray const & ar)
+ MathArray::size_type firstRelOp(MathArray const & ar)
{
for (MathArray::const_iterator it = ar.begin(); it != ar.end(); ++it)
if ((*it)->isRelOp())
bool stared(string const & s)
{
- unsigned const n = s.size();
+ string::size_type const n = s.size();
return n && s[n - 1] == '*';
}
return false;
}
- int const cols = p->ncols();
+ MathInset::col_type const cols = p->ncols();
// save global variables
bool const saved_num = curr_num_;
curr_label_.erase();
// reading a row
- for (int col = 0; col < cols; ++col) {
+ for (MathInset::col_type col = 0; col < cols; ++col) {
//lyxerr << "reading cell " << row << " " << col << "\n";
parse_into(p->cell(col + row * cols), FLAG_BLOCK);