From: Georg Baum Date: Sun, 5 Jun 2016 17:48:31 +0000 (+0200) Subject: Remove duplicated if clause X-Git-Tag: 2.3.0alpha1~1564 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=42362cfb87d1df08349e61b41347617fcd149925;p=features.git 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 7291a60bf1..a1677de41f 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();