]> git.lyx.org Git - features.git/blobdiff - src/Undo.cpp
Remove InsetOld
[features.git] / src / Undo.cpp
index 3d0f2ed093554af5ac27652216e05d2237039ef3..6b05ae484b4e995191998202920d682f36bffd0c 100644 (file)
@@ -26,9 +26,9 @@
 #include "ParagraphList.h"
 
 #include "mathed/MathSupport.h"
-#include "mathed/MathArray.h"
+#include "mathed/MathData.h"
 
-#include "insets/Inset.h"
+#include "insets/InsetBase.h"
 
 #include <algorithm>
 
@@ -101,7 +101,7 @@ void doRecordUndo(Undo::undo_kind kind,
        // fill in the real data to be saved
        if (cell.inMathed()) {
                // simply use the whole cell
-               undo.array = new MathArray(cell.cell());
+               undo.array = new MathData(cell.cell());
        } else {
                // some more effort needed here as 'the whole cell' of the
                // main LyXText _is_ the whole document.