]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMatrix.cpp
* dynamic macros as described in http://1stein.org/download/dynmacro.pdf
[lyx.git] / src / mathed / InsetMathMatrix.cpp
index feb56cb3df61249d8c9c4c37488e872c1daa231f..778595b5f53177e00d2b7f83eb5d7c766630ebc4 100644 (file)
 
 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);
 }