From 78aeccc19a678555d84df1d94cadb06b5cec6877 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Tue, 19 May 2015 00:24:13 +0200 Subject: [PATCH] tex2lyx/text.cpp: code simplification --- src/tex2lyx/text.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index 5073562cdf..60fa6257d9 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -1222,12 +1222,9 @@ void parse_box(Parser & p, ostream & os, unsigned outer_flags, && (fboxrule != "" || fboxsep != "" || shadow_size != "")) { // in this case we assume that the closing brace is from the box settings // therefore reset these values for the next box - if (fboxrule != "") - fboxrule = ""; - if (fboxsep != "") - fboxsep = ""; - if (shadow_size != "") - shadow_size = ""; + fboxrule = ""; + fboxsep = ""; + shadow_size = ""; } // all boxes except of Frameless and Shaded require calc -- 2.39.2