]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.C
reduce number of calls to LyXText::getFont
[lyx.git] / src / tabular.C
index f2322e6e6bc304a6d09e988a917144a50853e8dc..bde0dc4f78c869bdd83e536433e7396925e72308 100644 (file)
@@ -2510,6 +2510,13 @@ shared_ptr<InsetText> LyXTabular::getCellInset(row_type row,
 }
 
 
+void LyXTabular::setCellInset(row_type row, col_type column,
+                             shared_ptr<InsetText> ins) const
+{
+       cell_info[row][column].inset = ins;
+}
+
+
 LyXTabular::idx_type
 LyXTabular::getCellFromInset(InsetBase const * inset) const
 {