]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFont.h
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathFont.h
index b83910523fefe68643ced98c351491d0fbcb8f3c..a55c1f77b16ca7910ef503ea18c45e2529d62ee0 100644 (file)
@@ -45,9 +45,11 @@ public:
        void validate(LaTeXFeatures & features) const;
        ///
        void infoize(odocstream & os) const;
+       ///
+       int kerning(BufferView const * bv) const { return cell(0).kerning(bv); }
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        /// the font to be used on screen
        latexkeys const * key_;
 };