mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fixbug 5280
http://bugzilla.lyx.org/show_bug.cgi?id=5280 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27244 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
33f0bb6ac3
commit
0681cb4e60
@ -2050,8 +2050,10 @@ bool Paragraph::latex(BufferParams const & bparams,
|
||||
if (!runparams.verbatim &&
|
||||
runparams.encoding->package() != Encoding::none &&
|
||||
font.language()->encoding()->package() != Encoding::none) {
|
||||
pair<bool, int> const enc_switch = switchEncoding(os, bparams,
|
||||
odocstringstream ods;
|
||||
pair<bool, int> const enc_switch = switchEncoding(ods, bparams,
|
||||
runparams, *(font.language()->encoding()));
|
||||
os << ods.str();
|
||||
if (enc_switch.first) {
|
||||
column += enc_switch.second;
|
||||
runparams.encoding = font.language()->encoding();
|
||||
|
Loading…
Reference in New Issue
Block a user