]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_boxedinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_boxedinset.h
index f41510f976c3f91ce1643426e2e04b5672ea5dd5..c87ade2aab14bfc0aba8fafc3c52a44e0ef7bb2a 100644 (file)
@@ -21,8 +21,6 @@ public:
        ///
        MathBoxedInset();
        ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
        void validate(LaTeXFeatures & features) const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
@@ -34,6 +32,8 @@ public:
        void normalize(NormalStream & ns) const;
        ///
        void infoize(std::ostream & os) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif