]> git.lyx.org Git - lyx.git/blobdiff - src/undo_funcs.C
whitespace changes;
[lyx.git] / src / undo_funcs.C
index 70095c3424ed41036c8361af267963b7d74bdbea..56b53ec745517dd9df85878b2189693875fed901 100644 (file)
@@ -19,6 +19,7 @@
 #include "buffer.h"
 #include "insets/inset.h"
 #include "debug.h"
+#include "support/LAssert.h"
 
 /// the flag used by FinishUndo();
 bool undo_finished;
@@ -295,7 +296,7 @@ Undo * createUndo(BufferView * bv, Undo::undo_kind kind,
   
                while (tmppar != end && tmppar->next()) {
                        tmppar = tmppar->next();
-                       tmppar2->next(new Paragraph(*tmppar));
+                       tmppar2->next(new Paragraph(*tmppar, false));
                        tmppar2->next()->id(tmppar->id());
                        // a memory optimization: Just store the layout
                        // information when only edit