From: Richard Heck Date: Wed, 8 Jun 2011 13:05:39 +0000 (+0000) Subject: Fix stupid duplicate from r38981. X-Git-Tag: 2.0.1~238 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4585ff0f9db7cf53ee40ef9e41a90dd23cc64497;p=features.git Fix stupid duplicate from r38981. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38986 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Text.cpp b/src/Text.cpp index 7da48185c8..c79b67660d 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -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.