]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFont.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathFont.h
index bfa380d19113aadc17490553c6761d25ced400a6..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,10 +46,10 @@ 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 std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        /// the font to be used on screen
        latexkeys const * key_;
 };