]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMatrix.cpp
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathMatrix.cpp
index 7b19c38d9822a1a11e7ddf69f6204a57ad97496f..778595b5f53177e00d2b7f83eb5d7c766630ebc4 100644 (file)
 #include <config.h>
 
 #include "InsetMathMatrix.h"
-#include "MathArray.h"
+#include "MathData.h"
 #include "MathStream.h"
 
 
 namespace lyx {
 
-using std::auto_ptr;
-
-
 InsetMathMatrix::InsetMathMatrix(InsetMathGrid const & p)
        : InsetMathGrid(p)
 {}
 
 
-auto_ptr<InsetBase> InsetMathMatrix::doClone() const
+Inset * InsetMathMatrix::clone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathMatrix(*this));
+       return new InsetMathMatrix(*this);
 }