From 42362cfb87d1df08349e61b41347617fcd149925 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 5 Jun 2016 19:48:31 +0200 Subject: [PATCH] Remove duplicated if clause This was a thinko in 760b7cf2 (found by cppcheck), it was added in 977bbd9b as well. --- src/insets/InsetLayout.cpp | 3 --- 1 file changed, 3 deletions(-) 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(); -- 2.39.2