]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_matrixinset.C
tfracinset files is missing so all usage of tfrac is commented out
[lyx.git] / src / mathed / math_matrixinset.C
index d515da77d2d3ec526683de3b76a41d07175eff8f..f1343b47362f52326f42b1c13c21dc6d57cbf230 100644 (file)
@@ -1,8 +1,20 @@
+/**
+ * \file math_matrixinset.C
+ * 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.
+ */
+
+#include <config.h>
 
 #include "math_matrixinset.h"
-#include "math_parser.h"
+#include "math_data.h"
 #include "math_mathmlstream.h"
-#include "Lsstream.h"
+
+using std::auto_ptr;
 
 
 MathMatrixInset::MathMatrixInset(MathGridInset const & p)
@@ -10,9 +22,9 @@ MathMatrixInset::MathMatrixInset(MathGridInset const & p)
 {}
 
 
-InsetBase * MathMatrixInset::clone() const
+auto_ptr<InsetBase> MathMatrixInset::clone() const
 {
-       return new MathMatrixInset(*this);
+       return auto_ptr<InsetBase>(new MathMatrixInset(*this));
 }