]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_dfracinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_dfracinset.h
index e1c91202f30c57d41cf7dc192f49b4c72f94d864..1a24b1b5e616ae0077b071cf18c864b5f7e2aa2b 100644 (file)
@@ -21,8 +21,6 @@ public:
        ///
        MathDfracInset();
        ///
-       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