]> 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 002ff0d7bd7465d061bfd73bc8e4cc0fc03366c5..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;
        ///
@@ -34,6 +32,10 @@ public:
        void write(WriteStream & ws) const;
        ///
        void normalize(NormalStream & ns) const;
+       ///
+       void validate(LaTeXFeatures & features) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif