]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiff.cpp
Properly fix bug 3258.
[lyx.git] / src / mathed / InsetMathDiff.cpp
index 61b87a36c8b752f632261f2f08830c224bf624b1..3ec1160bdf5bace93eebad3f8da2caa760e53282 100644 (file)
@@ -11,7 +11,7 @@
 #include <config.h>
 
 #include "InsetMathDiff.h"
-#include "MathArray.h"
+#include "MathData.h"
 #include "MathStream.h"
 #include "debug.h"
 
@@ -27,13 +27,13 @@ InsetMathDiff::InsetMathDiff()
 {}
 
 
-auto_ptr<InsetBase> InsetMathDiff::doClone() const
+auto_ptr<Inset> InsetMathDiff::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathDiff(*this));
+       return auto_ptr<Inset>(new InsetMathDiff(*this));
 }
 
 
-void InsetMathDiff::addDer(MathArray const & der)
+void InsetMathDiff::addDer(MathData const & der)
 {
        cells_.push_back(der);
 }