]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_liminset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_liminset.h
index 87469aff517186783536c54cfd3acd0a850e6bbc..fb246ddea77a464cfff507836c4f9985a5406dc4 100644 (file)
@@ -1,4 +1,14 @@
 // -*- C++ -*-
+/**
+ * \file math_liminset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_LIMINSET_H
 #define MATH_LIMINSET_H
 
@@ -13,8 +23,6 @@ public:
        ///
        MathLimInset(MathArray const & f, MathArray const & x, MathArray const & x0);
        ///
-       InsetBase * clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -29,6 +37,8 @@ public:
        void mathmlize(MathMLStream &) const;
        ///
        void write(WriteStream & os) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif