]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_tfracinset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_tfracinset.h
index b2727ebfdb344df4142876e68bd4798d5daa6cf2..c384f256673c5a714abc3b01f8569201f603b436 100644 (file)
@@ -21,8 +21,6 @@ public:
        ///
        MathTfracInset();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
@@ -32,6 +30,8 @@ public:
        void mathmlize(MathMLStream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif