mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
don't trigger the copy ctor because it's private on msvc
CCMAIL:lyx-devel@lists.lyx.org git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15579 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1b698a8218
commit
2dae7cce1a
@ -308,7 +308,7 @@ TeXOnePar(Buffer const & buf,
|
||||
bool const change_encoding = !runparams_in.dryrun &&
|
||||
bparams.inputenc == "auto" &&
|
||||
language->encoding() != doc_language->encoding();
|
||||
odocstream & os(change_encoding ? par_stream : ucs4);
|
||||
odocstream & os = *(change_encoding ? &par_stream : &ucs4);
|
||||
|
||||
// In an an inset with unlimited length (all in one row),
|
||||
// don't allow any special options in the paragraph
|
||||
|
Loading…
Reference in New Issue
Block a user