]> git.lyx.org Git - features.git/blobdiff - src/insets/insetcaption.C
This commit fixes a crash when accessing a math inset. This was due to an invalid...
[features.git] / src / insets / insetcaption.C
index 0638430c70ef38b89a57eacf2d9bd7af34ca6cd6..bf4c5c976e252efef95b81fffe2e950c4bcd0db5 100644 (file)
@@ -81,10 +81,10 @@ docstring const InsetCaption::editMessage() const
 }
 
 
-void InsetCaption::cursorPos
-       (CursorSlice const & sl, bool boundary, int & x, int & y) const
+void InsetCaption::cursorPos(BufferView const & bv,
+               CursorSlice const & sl, bool boundary, int & x, int & y) const
 {
-       InsetText::cursorPos(sl, boundary, x, y);
+       InsetText::cursorPos(bv, sl, boundary, x, y);
        x += labelwidth_;
 }