]> git.lyx.org Git - lyx.git/commitdiff
add comment about ugly construct
authorPeter Kümmel <syntheticpp@gmx.net>
Sun, 29 Oct 2006 16:43:18 +0000 (16:43 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Sun, 29 Oct 2006 16:43:18 +0000 (16:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15606 a592a061-630c-0410-9148-cb99ea01b6c8

src/output_latex.C

index a852b3080594e2ee3a26f1f6fb0eb028eaf09404..c6986cce240e8ec00ae174c12fafb2da27cd7d9a 100644 (file)
@@ -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),