mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
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
This commit is contained in:
parent
7b4a9b95e3
commit
4585ff0f9d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user