mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
tex2lyx/text.cpp: code simplification
This commit is contained in:
parent
6ae2a8bcbe
commit
78aeccc19a
@ -1222,12 +1222,9 @@ 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 = "";
|
fboxsep = "";
|
||||||
if (fboxsep != "")
|
shadow_size = "";
|
||||||
fboxsep = "";
|
|
||||||
if (shadow_size != "")
|
|
||||||
shadow_size = "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// all boxes except of Frameless and Shaded require calc
|
// all boxes except of Frameless and Shaded require calc
|
||||||
|
Loading…
Reference in New Issue
Block a user