]> git.lyx.org Git - features.git/blobdiff - src/insets/insettext.h
This commit fixes a crash when accessing a math inset. This was due to an invalid...
[features.git] / src / insets / insettext.h
index 23f054e93b06d555ee3092a54a1249f11823e56e..d7d93eedf8d4a8f48e959f9a9ba1c44dafb72a8d 100644 (file)
@@ -73,7 +73,8 @@ public:
        void validate(LaTeXFeatures & features) const;
 
        /// return x,y of given position relative to the inset's baseline
-       void cursorPos(CursorSlice const & sl, bool boundary, int & x, int & y) const;
+       void cursorPos(BufferView const & bv, CursorSlice const & sl,
+               bool boundary, int & x, int & y) const;
        ///
        Code lyxCode() const { return TEXT_CODE; }
        ///