]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphList.C
don't rm emergency saves ever
[lyx.git] / src / ParagraphList.C
index 7ac431829bb1cd3ed19c006c9c806aa0b9c01f83..d87634c74cacf79bb25fe34271ef96c12cb465f0 100644 (file)
@@ -178,6 +178,9 @@ void ParagraphList::assign(iterator beg, iterator end)
 
 void ParagraphList::splice(iterator pos, ParagraphList & pl)
 {
+       if (pl.parlist == 0)
+               return;
+
        Paragraph * first = pl.parlist;
        Paragraph * last = first;
 #ifndef NO_NEXT