mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
avoid unneeded stream flushes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16586 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1aebac8d44
commit
24bb8d72f3
@ -115,7 +115,7 @@ TeXEnvironment(Buffer const & buf,
|
||||
lyxrc.language_command_end,
|
||||
"$$lang",
|
||||
previous_language->babel()))
|
||||
<< endl;
|
||||
<< '\n';
|
||||
texrow.newline();
|
||||
}
|
||||
|
||||
@ -125,7 +125,7 @@ TeXEnvironment(Buffer const & buf,
|
||||
lyxrc.language_command_begin,
|
||||
"$$lang",
|
||||
language->babel()))
|
||||
<< endl;
|
||||
<< '\n';
|
||||
texrow.newline();
|
||||
}
|
||||
}
|
||||
@ -278,7 +278,7 @@ TeXOnePar(Buffer const & buf,
|
||||
ucs4 << from_ascii(subst(lyxrc.language_command_end,
|
||||
"$$lang",
|
||||
previous_language->babel()))
|
||||
<< endl;
|
||||
<< '\n';
|
||||
texrow.newline();
|
||||
}
|
||||
|
||||
@ -289,7 +289,7 @@ TeXOnePar(Buffer const & buf,
|
||||
lyxrc.language_command_begin,
|
||||
"$$lang",
|
||||
language->babel()))
|
||||
<< endl;
|
||||
<< '\n';
|
||||
texrow.newline();
|
||||
}
|
||||
}
|
||||
@ -469,13 +469,13 @@ TeXOnePar(Buffer const & buf,
|
||||
lyxrc.language_command_begin,
|
||||
"$$lang",
|
||||
doc_language->babel()))
|
||||
<< endl;
|
||||
<< '\n';
|
||||
else
|
||||
os << from_ascii(subst(
|
||||
lyxrc.language_command_end,
|
||||
"$$lang",
|
||||
language->babel()))
|
||||
<< endl;
|
||||
<< '\n';
|
||||
texrow.newline();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user