X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_latex.C;h=c6986cce240e8ec00ae174c12fafb2da27cd7d9a;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=a852b3080594e2ee3a26f1f6fb0eb028eaf09404;hpb=1440f02a84fd8c64a70bb19eaee0cda3f99916ba;p=lyx.git diff --git a/src/output_latex.C b/src/output_latex.C index a852b30805..c6986cce24 100644 --- a/src/output_latex.C +++ b/src/output_latex.C @@ -308,6 +308,7 @@ TeXOnePar(Buffer const & buf, bool const change_encoding = !runparams_in.dryrun && bparams.inputenc == "auto" && language->encoding() != doc_language->encoding(); + // don't trigger the copy ctor because it's private on msvc odocstream & os = *(change_encoding ? &par_stream : &ucs4); // In an an inset with unlimited length (all in one row),