]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMatrix.cpp
Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
[lyx.git] / src / mathed / InsetMathMatrix.cpp
index feb56cb3df61249d8c9c4c37488e872c1daa231f..b4cecfa6c3785871f3b86c3e0913d2b9de9921a9 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
 
 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);
 }