]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parinset.C
some (yet unfinished) up/down work
[lyx.git] / src / mathed / math_parinset.C
index 28e2209f1f12d3bbf6ad02577ead2fa64389e924..3f2baae0ddefce2bd1bbfeb7179415d7254aca98 100644 (file)
@@ -16,6 +16,9 @@
 #include "support/std_ostream.h"
 
 
+using std::auto_ptr;
+
+
 MathParInset::MathParInset(MathArray const & ar)
 {
        cells_[0] = ar;
@@ -48,3 +51,9 @@ void MathParInset::infoize(std::ostream & os) const
 {
        os << "Type: Paragraph ";
 }
+
+
+auto_ptr<InsetBase> MathParInset::doClone() const
+{
+       return auto_ptr<InsetBase>(new MathParInset(*this));
+}