]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_undersetinset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_undersetinset.h
index c6473e1980c6118c02581b34e57f99d06f0d5cbc..c80a23497e1c7f1b62ac218eab220a82e25dd199 100644 (file)
@@ -18,8 +18,6 @@
 /// Inset for underset
 class MathUndersetInset : public MathFracbaseInset {
 public:
-       ///
-       std::auto_ptr<InsetBase> clone() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -36,6 +34,8 @@ public:
        void normalize(NormalStream & ns) const;
        ///
        void validate(LaTeXFeatures & features) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif