mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
more small patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3313 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2c2ce9424f
commit
75408c2bcc
@ -37,7 +37,7 @@ namespace {
|
||||
|
||||
// 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())
|
||||
|
@ -93,7 +93,7 @@ namespace {
|
||||
|
||||
bool stared(string const & s)
|
||||
{
|
||||
unsigned const n = s.size();
|
||||
string::size_type const n = s.size();
|
||||
return n && s[n - 1] == '*';
|
||||
}
|
||||
|
||||
@ -504,7 +504,7 @@ bool Parser::parse_lines(MathAtom & t, bool numbered, bool outmost)
|
||||
return false;
|
||||
}
|
||||
|
||||
int const cols = p->ncols();
|
||||
MathInset::col_type const cols = p->ncols();
|
||||
|
||||
// save global variables
|
||||
bool const saved_num = curr_num_;
|
||||
@ -519,7 +519,7 @@ bool Parser::parse_lines(MathAtom & t, bool numbered, bool outmost)
|
||||
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);
|
||||
|
||||
|
@ -34,7 +34,7 @@ class LyXLex;
|
||||
enum MathTokenEnum
|
||||
{
|
||||
///
|
||||
LM_TK_SYM,
|
||||
LM_TK_SYM = 256,
|
||||
///
|
||||
LM_TK_BOX,
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user