]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.C
fix nullstream also in pch files
[lyx.git] / src / tabular.C
index acbdae6fc535cb9adefb409dcee026dd43dfa15a..212431cbb853936f54030a89bc002fff06bd89e2 100644 (file)
@@ -896,7 +896,9 @@ void toggleFixedWidth(LCursor & cur, InsetText * inset, bool fixedWidth)
 
        // reset layout
        cur.push(*inset);
-       inset->getText(0)->setLayout(0, cur.lastpit() + 1, "Standard");
+       // undo information has already been recorded
+       inset->getText(0)->setLayout(0, cur.lastpit() + 1,
+                       bp.getLyXTextClass().defaultLayoutName());
        cur.pop();
 }
 
@@ -2605,15 +2607,6 @@ void LyXTabular::validate(LaTeXFeatures & features) const
 }
 
 
-void LyXTabular::getLabelList(Buffer const & buffer,
-                             std::vector<string> & list) const
-{
-       for (row_type i = 0; i < rows_; ++i)
-               for (col_type j = 0; j < columns_; ++j)
-                       getCellInset(i, j)->getLabelList(buffer, list);
-}
-
-
 LyXTabular::BoxType LyXTabular::useParbox(idx_type cell) const
 {
        ParagraphList const & parlist = getCellInset(cell)->paragraphs();