]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_charinset.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_charinset.h
index 76a1feab001a61fb5476971bf6ae88a0504ad211..7c63e71dc013b3f9c1722e02c52820dd914f63e0 100644 (file)
@@ -21,8 +21,6 @@ public:
        ///
        explicit MathCharInset(char c);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -47,6 +45,7 @@ public:
        bool isRelOp() const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// the character
        char char_;
        /// cached width