]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.C
more changes, read the Changelog
[lyx.git] / src / CutAndPaste.C
index 70eb686b324d81f1eb5ba3f0c333a927b881aa79..3f3a0238a15895868df184251c19a3b1f6c64c18 100644 (file)
@@ -412,12 +412,7 @@ int CutAndPaste::SwitchLayoutsBetweenClasses(LyXTextClassList::size_type c1,
                    + textclasslist.NameOfClass(c1) + _(" to ")
                    + textclasslist.NameOfClass(c2);
            InsetError * new_inset = new InsetError(s);
-#ifdef NEW_WAY
            par->InsertInset(0, new_inset);
-#else
-           par->InsertChar(0, LyXParagraph::META_INSET);
-           par->InsertInset(0, new_inset);
-#endif
        }
        
        par = par->next;