]> git.lyx.org Git - features.git/blobdiff - src/insets/insettabular.C
This commit fixes a crash when accessing a math inset. This was due to an invalid...
[features.git] / src / insets / insettabular.C
index 0ac3d57731101273b4ca8e2ef921e7de2c321e3d..df79c6718efd1e11ae5949b3c80142ac52d76394 100644 (file)
@@ -1117,10 +1117,10 @@ shared_ptr<InsetText> InsetTabular::cell(idx_type idx)
 }
 
 
-void InsetTabular::cursorPos
-       (CursorSlice const & sl, bool boundary, int & x, int & y) const
+void InsetTabular::cursorPos(BufferView const & bv,
+               CursorSlice const & sl, bool boundary, int & x, int & y) const
 {
-       cell(sl.idx())->cursorPos(sl, boundary, x, y);
+       cell(sl.idx())->cursorPos(bv, sl, boundary, x, y);
 
        // y offset     correction
        int const row = tabular.row_of_cell(sl.idx());