LyXTable * LyXTable::Clone()
{
LyXTable * result = new LyXTable(rows, columns);
- int row, column;;
+ int row, column;
for (row = 0; row < rows; ++row) {
for (column = 0; column < columns; ++column) {
int h = 0;
string s;
- getline(is, s);
+ while(!s.length())
+ getline(is, s);
if (s.length() > 8)
version = atoi(s.c_str() + 8);
else
os << "\\multicolumn{"
<< cells_in_multicolumn(nvcell)
<< "}{";
- if (!cellinfo_of_cell(cell+1)->align_special.empty()) {
- os << cellinfo_of_cell(cell+1)->align_special
+ if (!cellinfo_of_cell(nvcell)->align_special.empty()) {
+ os << cellinfo_of_cell(nvcell)->align_special
<< "}{";
} else {
if (LeftLine(nvcell))