is that it gets inserted with silly lines

the attached patch gets rid of them

can i commit? pleeeeease?!
Index: tabular.C
===================================================================
--- tabular.C   (revision 13978)
+++ tabular.C   (working copy)
@@ -319,9 +319,9 @@
          multicolumn(LyXTabular::CELL_NORMAL),
          alignment(LYX_ALIGN_CENTER),
          valignment(LYX_VALIGN_TOP),
-         top_line(true),
+         top_line(false),
          bottom_line(false),
-         left_line(true),
+         left_line(false),
          right_line(false),
          usebox(BOX_NONE),
          rotate(false),
@@ -378,7 +378,7 @@
 LyXTabular::rowstruct::rowstruct()
        : ascent_of_row(0),
          descent_of_row(0),
-         top_line(true),
+         top_line(false),
          bottom_line(false),
          endhead(false),
          endfirsthead(false),
@@ -391,7 +391,7 @@
 LyXTabular::columnstruct::columnstruct()
        : alignment(LYX_ALIGN_CENTER),
          valignment(LYX_VALIGN_TOP),
-         left_line(true),
+         left_line(false),
          right_line(false),
          width_of_column(0)
 {
@@ -426,10 +426,10 @@
        cell_info.reserve(100);
        fixCellNums();
        for (row_type i = 0; i < rows_; ++i)
-               cell_info[i].back().right_line = true;
-       row_info.back().bottom_line = true;
-       row_info.front().bottom_line = true;
-       column_info.back().right_line = true;
+               cell_info[i].back().right_line = false;
+       row_info.back().bottom_line = false;
+       row_info.front().bottom_line = false;
+       column_info.back().right_line = false;
        is_long_tabular = false;
        rotate = false;
 }
@@ -445,7 +445,7 @@
                        cell_info[i][j].inset->setDrawFrame(false);
                        cell_info[i][j].cellno = cellno++;
                }
-               cell_info[i].back().right_line = true;
+               cell_info[i].back().right_line = false;
        }
 
        set_row_column_number_info();

Reply via email to