]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFontOld.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathFontOld.h
index a2b16bd56e5c80a95d05fd092aa739e93d3d91de..10ef8305e09fbdae44c5383ecb2f27adab4ef6ca 100644 (file)
@@ -30,7 +30,7 @@ public:
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -44,7 +44,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;