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:
Georg Baum 2007-01-07 18:53:59 +00:00
parent 1aebac8d44
commit 24bb8d72f3

View File

@ -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();
}