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:
Peter Kümmel 2006-10-27 13:10:06 +00:00
parent 1b698a8218
commit 2dae7cce1a

View File

@ -308,7 +308,7 @@ TeXOnePar(Buffer const & buf,
bool const change_encoding = !runparams_in.dryrun && bool const change_encoding = !runparams_in.dryrun &&
bparams.inputenc == "auto" && bparams.inputenc == "auto" &&
language->encoding() != doc_language->encoding(); 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), // In an an inset with unlimited length (all in one row),
// don't allow any special options in the paragraph // don't allow any special options in the paragraph