]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFontOld.h
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathFontOld.h
index 7e44e08c9f930d4e81b805ebb66952e2f19bf236..10ef8305e09fbdae44c5383ecb2f27adab4ef6ca 100644 (file)
@@ -43,9 +43,11 @@ public:
        void normalize(NormalStream &) 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_;
 };