]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontinset.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_fontinset.h
index 5174823b0435ab38c55385dbb159f797a1cb69bf..efe6ce2033b032db71660a79ffd2f48c80dfb3c8 100644 (file)
@@ -23,8 +23,6 @@ public:
        ///
        explicit MathFontInset(latexkeys const * key);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        MathFontInset * asFontInset() { return this; }
        ///
        MathFontInset const * asFontInset() const { return this; }
@@ -46,6 +44,7 @@ public:
        void infoize(std::ostream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// the font to be used on screen
        latexkeys const * key_;
 };