mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +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,
|
lyxrc.language_command_end,
|
||||||
"$$lang",
|
"$$lang",
|
||||||
previous_language->babel()))
|
previous_language->babel()))
|
||||||
<< endl;
|
<< '\n';
|
||||||
texrow.newline();
|
texrow.newline();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ TeXEnvironment(Buffer const & buf,
|
|||||||
lyxrc.language_command_begin,
|
lyxrc.language_command_begin,
|
||||||
"$$lang",
|
"$$lang",
|
||||||
language->babel()))
|
language->babel()))
|
||||||
<< endl;
|
<< '\n';
|
||||||
texrow.newline();
|
texrow.newline();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -278,7 +278,7 @@ TeXOnePar(Buffer const & buf,
|
|||||||
ucs4 << from_ascii(subst(lyxrc.language_command_end,
|
ucs4 << from_ascii(subst(lyxrc.language_command_end,
|
||||||
"$$lang",
|
"$$lang",
|
||||||
previous_language->babel()))
|
previous_language->babel()))
|
||||||
<< endl;
|
<< '\n';
|
||||||
texrow.newline();
|
texrow.newline();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -289,7 +289,7 @@ TeXOnePar(Buffer const & buf,
|
|||||||
lyxrc.language_command_begin,
|
lyxrc.language_command_begin,
|
||||||
"$$lang",
|
"$$lang",
|
||||||
language->babel()))
|
language->babel()))
|
||||||
<< endl;
|
<< '\n';
|
||||||
texrow.newline();
|
texrow.newline();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -469,13 +469,13 @@ TeXOnePar(Buffer const & buf,
|
|||||||
lyxrc.language_command_begin,
|
lyxrc.language_command_begin,
|
||||||
"$$lang",
|
"$$lang",
|
||||||
doc_language->babel()))
|
doc_language->babel()))
|
||||||
<< endl;
|
<< '\n';
|
||||||
else
|
else
|
||||||
os << from_ascii(subst(
|
os << from_ascii(subst(
|
||||||
lyxrc.language_command_end,
|
lyxrc.language_command_end,
|
||||||
"$$lang",
|
"$$lang",
|
||||||
language->babel()))
|
language->babel()))
|
||||||
<< endl;
|
<< '\n';
|
||||||
texrow.newline();
|
texrow.newline();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user