]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXArrow.cpp
Properly fix bug 3258.
[lyx.git] / src / mathed / InsetMathXArrow.cpp
index dbd16ac31c53348a2e74c761fa462acc8eb130a7..02a1e4147b40234f2117f3d43c558bdafd22afb5 100644 (file)
@@ -30,9 +30,9 @@ InsetMathXArrow::InsetMathXArrow(docstring const & name)
 {}
 
 
-auto_ptr<InsetBase> InsetMathXArrow::doClone() const
+auto_ptr<Inset> InsetMathXArrow::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathXArrow(*this));
+       return auto_ptr<Inset>(new InsetMathXArrow(*this));
 }