git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18911 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2007-06-27 14:50:50 +00:00
parent ca2bed7fa9
commit 25fc26446b

View File

@ -613,7 +613,7 @@ int switchEncoding(odocstream & os, BufferParams const & bparams,
// FIXME We ignore encoding switches from/to encodings that do // FIXME We ignore encoding switches from/to encodings that do
// neither support the inputenc package nor the CJK package here. // neither support the inputenc package nor the CJK package here.
// This does of course only work in special cases (e.g. switch from // This does of course only work in special cases (e.g. switch from
// tis620-0 to latin1, but the text in latin1 contains ASCII only, // tis620-0 to latin1, but the text in latin1 contains ASCII only),
// but it is the best we can do // but it is the best we can do
if (oldEnc.package() == Encoding::none if (oldEnc.package() == Encoding::none
|| newEnc.package() == Encoding::none) || newEnc.package() == Encoding::none)