]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xyarrowinset.C
mathed uglyfication
[lyx.git] / src / mathed / math_xyarrowinset.C
index 26b569cd80b491c97ed44d35269f76a25d42ba2f..522d3e0d8c2e361ea7ef041b251f5b7c30dbbee9 100644 (file)
@@ -27,9 +27,9 @@ MathXYArrowInset::MathXYArrowInset()
 {}
 
 
-InsetBase * MathXYArrowInset::clone() const
+auto_ptr<InsetBase> MathXYArrowInset::clone() const
 {
-       return new MathXYArrowInset(*this);
+       return auto_ptr<InsetBase>(new MathXYArrowInset(*this));
 }