]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_oversetinset.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_oversetinset.h
index 8fe16c09df223ceb5818ac17b555f6e07f5910e8..f73ac6149b6c541a538bfad6b7db742509ca459a 100644 (file)
@@ -18,8 +18,6 @@
 /// Inset for overset
 class MathOversetInset : public MathFracbaseInset {
 public:
-       ///
-       std::auto_ptr<InsetBase> clone() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -28,11 +26,14 @@ public:
        bool idxFirst(LCursor &) const;
        ///
        bool idxLast(LCursor &) const;
-
        ///
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
+       ///
+       void validate(LaTeXFeatures & features) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif