tex2lyx/text.cpp: code simplification

This commit is contained in:
Uwe Stöhr 2015-05-19 00:24:13 +02:00
parent 6ae2a8bcbe
commit 78aeccc19a

View File

@ -1222,11 +1222,8 @@ void parse_box(Parser & p, ostream & os, unsigned outer_flags,
&& (fboxrule != "" || fboxsep != "" || shadow_size != "")) { && (fboxrule != "" || fboxsep != "" || shadow_size != "")) {
// in this case we assume that the closing brace is from the box settings // in this case we assume that the closing brace is from the box settings
// therefore reset these values for the next box // therefore reset these values for the next box
if (fboxrule != "")
fboxrule = ""; fboxrule = "";
if (fboxsep != "")
fboxsep = ""; fboxsep = "";
if (shadow_size != "")
shadow_size = ""; shadow_size = "";
} }