mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
speed up _a_lot_ switchEncoding() by avoiding an object copy (see bug 5347)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26900 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
eceb3b75a1
commit
5579327a30
@ -864,7 +864,7 @@ void latexParagraphs(Buffer const & buf,
|
||||
pair<bool, int> switchEncoding(odocstream & os, BufferParams const & bparams,
|
||||
OutputParams const & runparams, Encoding const & newEnc)
|
||||
{
|
||||
Encoding const oldEnc = *runparams.encoding;
|
||||
Encoding const & oldEnc = *runparams.encoding;
|
||||
bool moving_arg = runparams.moving_arg;
|
||||
if ((bparams.inputenc != "auto" && bparams.inputenc != "default")
|
||||
|| moving_arg)
|
||||
|
@ -104,6 +104,8 @@ What's new
|
||||
- Fix importing of LaTeX files that don't use the package inputenc
|
||||
(bug 5181).
|
||||
|
||||
- Speedup LaTeX export (part of bug 5347).
|
||||
|
||||
- Fix output of citation commands in the ReVTeX4 class (bug 5182).
|
||||
|
||||
- Fix output of some Greek characters.
|
||||
|
Loading…
Reference in New Issue
Block a user