]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFont.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathFont.h
index c556d91c4821fde69b61c42df12821af5bd82748..a55c1f77b16ca7910ef503ea18c45e2529d62ee0 100644 (file)
@@ -34,7 +34,7 @@ public:
        ///
        docstring name() const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -46,7 +46,7 @@ public:
        ///
        void infoize(odocstream & os) const;
        ///
-       int kerning() const { return cell(0).kerning(); }
+       int kerning(BufferView const * bv) const { return cell(0).kerning(bv); }
 
 private:
        virtual Inset * clone() const;