]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_matrixinset.h
Add In nsetOld * argument to updateInset to rebreak the correct par.
[lyx.git] / src / mathed / math_matrixinset.h
index e77b8253a949fa33f7c9ee1489dbc9fdadb5cb27..50d7baccd3e5a458138908795bc52277ca3bb5aa 100644 (file)
@@ -1,4 +1,14 @@
 // -*- C++ -*-
+/**
+ * \file math_matrixinset.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_MATRIXINSET_H
 #define MATH_MATRIXINSET_H
 
@@ -14,9 +24,7 @@ public:
        ///
        MathMatrixInset(string const & str);
        ///
-       MathInset * clone() const;
-       ///
-       void metrics(MetricsInfo &) const {}
+       virtual std::auto_ptr<InsetBase> clone() const;
        /// identifies MatrixInsets
        MathMatrixInset const * asMatrixInset() const { return this; }