]> git.lyx.org Git - features.git/commitdiff
Fix stupid duplicate from r38981.
authorRichard Heck <rgheck@comcast.net>
Wed, 8 Jun 2011 12:51:24 +0000 (12:51 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 8 Jun 2011 12:51:24 +0000 (12:51 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38984 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text.cpp

index 7c6fa5a233973a55b46e88d29cd1b0cae9840525..a8bc2c9ede576c9ed08098caf1244348f61972be 100644 (file)
@@ -356,7 +356,6 @@ void Text::readParToken(Paragraph & par, Lexer & lex,
                // of this document. For example, when you apply class article to a beamer document,
                // all unknown layouts such as frame will be added to document class article so that
                // these layouts can keep their original names.
-               tclass.addLayoutIfNeeded(layoutname);
                bool const added_one = tclass.addLayoutIfNeeded(layoutname);
                if (added_one) {
                        // Warn the user.