]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathArray.cpp
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathArray.cpp
index 8732f50c9cb4cae17b8135b49ef7340f992a507f..544d6a47d1846dc64fa600129477e2caffd70f04 100644 (file)
@@ -73,9 +73,9 @@ InsetMathArray::InsetMathArray(docstring const & name, docstring const & str)
 }
 
 
-auto_ptr<InsetBase> InsetMathArray::doClone() const
+auto_ptr<Inset> InsetMathArray::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathArray(*this));
+       return auto_ptr<Inset>(new InsetMathArray(*this));
 }