]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathChar.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathChar.h
index dc0bc379b182a0bffd05791cf396489ff41ca828..b602555da433308b34b30f2778634c90da0397ca 100644 (file)
@@ -22,6 +22,8 @@ public:
        ///
        explicit InsetMathChar(char_type c);
        ///
+       void setBuffer(Buffer &) {}
+       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -30,7 +32,7 @@ public:
        ///
        void drawT(TextPainter &, int x, int y) const;
        ///
-       int kerning() const { return kerning_; }
+       int kerning(BufferView const *) const { return kerning_; }
 
        ///
        void write(WriteStream & os) const;