]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.C
remove more forms.h cruft
[lyx.git] / src / tabular.C
index f681ee2533af66cbad3632767d333ebd6e0e044a..99e7816168bc011a4d64bf3c845fd3b14a4161a6 100644 (file)
@@ -2530,6 +2530,12 @@ InsetText * LyXTabular::GetCellInset(int cell) const
 
 InsetText * LyXTabular::GetCellInset(int row, int column) const
 {
+#ifdef WITH_WARNINGS
+#warning Juergen, should we check whether the row/column values are correct?
+// If we do not need to do that, the tests in GetCellNumber should be
+// changed to asserts.
+#endif
+       cur_cell = GetCellNumber(row, column);
        return & cell_info[row][column].inset;
 }