]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_dotsinset.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_dotsinset.C
index c437d428739de797a19ff9d2bf6e3f2df3f67e08..086c6c658f3c85f5aa52ac7ecd4add0290aef56b 100644 (file)
@@ -6,15 +6,17 @@
 #include "math_support.h"
 #include "math_parser.h"
 
+using std::auto_ptr;
+
 
 MathDotsInset::MathDotsInset(latexkeys const * key)
        : key_(key)
 {}
 
 
-InsetBase * MathDotsInset::clone() const
+auto_ptr<InsetBase> MathDotsInset::clone() const
 {
-       return new MathDotsInset(*this);
+       return auto_ptr<InsetBase>(new MathDotsInset(*this));
 }