]> git.lyx.org Git - features.git/blobdiff - src/insets/insetcollapsable.C
This commit fixes a crash when accessing a math inset. This was due to an invalid...
[features.git] / src / insets / insetcollapsable.C
index 16b0d68f75a24c847657ab0123893762a3bb14f8..a8bf0856aa1006440682ff1859e0e2dd54ce6660 100644 (file)
@@ -211,12 +211,12 @@ void InsetCollapsable::drawSelection(PainterInfo & pi, int x, int y) const
 }
 
 
-void InsetCollapsable::cursorPos
-       (CursorSlice const & sl, bool boundary, int & x, int & y) const
+void InsetCollapsable::cursorPos(BufferView const & bv, 
+               CursorSlice const & sl, bool boundary, int & x, int & y) const
 {
        BOOST_ASSERT(status() != Collapsed);
 
-       InsetText::cursorPos(sl, boundary, x, y);
+       InsetText::cursorPos(bv, sl, boundary, x, y);
 
        if (status() == Open) {
                if (openinlined_)