From 969f29211955580a2a05d3650383649eb6373387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sun, 29 Oct 2006 16:43:18 +0000 Subject: [PATCH] add comment about ugly construct git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15606 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/output_latex.C | 1 + 1 file changed, 1 insertion(+) 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),