]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnknown.h
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / InsetMathUnknown.h
index 144ac64a606be7656c0c29bb30f83c4e07a7d610..60146a34c22a30b2b4a3ff0e189031153e1a0798 100644 (file)
@@ -25,7 +25,7 @@ public:
        explicit InsetMathUnknown(docstring const & name,
                bool final = true, bool black = false);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -52,7 +52,7 @@ public:
        ///
        bool final() const;
        ///
-       int kerning() const { return kerning_; }
+       int kerning(BufferView const *) const { return kerning_; }
 private:
        virtual Inset * clone() const;
        ///