commit 42362cfb87d1df08349e61b41347617fcd149925 Author: Georg Baum <b...@lyx.org> Date: Sun Jun 5 19:48:31 2016 +0200
Remove duplicated if clause This was a thinko in 760b7cf2 (found by cppcheck), it was added in 977bbd9b as well. diff --git a/src/insets/InsetLayout.cpp b/src/insets/InsetLayout.cpp index 7291a60..a1677de 100644 --- a/src/insets/InsetLayout.cpp +++ b/src/insets/InsetLayout.cpp @@ -607,9 +607,6 @@ void InsetLayout::readArgument(Lexer & lex) } else if (tok == "insertcotext") { lex.next(); arg.insertcotext = lex.getBool(); - } else if (tok == "insertcotext") { - lex.next(); - arg.insertcotext = lex.getBool(); } else if (tok == "leftdelim") { lex.next(); arg.ldelim = lex.getDocString();