mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
Constify some variables in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40013 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dc7a53aeb4
commit
042d0118ae
@ -2531,13 +2531,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (t.cs() == "rule") {
|
else if (t.cs() == "rule") {
|
||||||
string offset = "";
|
string const offset = (p.hasOpt() ? p.getArg('[', ']') : string());
|
||||||
string width;
|
string const width = p.getArg('{', '}');
|
||||||
string thickness;
|
string const thickness = p.getArg('{', '}');
|
||||||
if (p.hasOpt())
|
|
||||||
offset = p.getArg('[', ']');
|
|
||||||
width = p.getArg('{', '}');
|
|
||||||
thickness = p.getArg('{', '}');
|
|
||||||
|
|
||||||
context.check_layout(os);
|
context.check_layout(os);
|
||||||
begin_command_inset(os, "line", "rule");
|
begin_command_inset(os, "line", "rule");
|
||||||
|
Loading…
Reference in New Issue
Block a user