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