* fix bug #7062. How stupid of me!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36438 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-11-23 09:59:31 +00:00
parent f3ad535dbd
commit bd3dcea835

View File

@ -274,7 +274,9 @@ int Font::latexWriteStartChanges(odocstream & os, BufferParams const & bparams,
int count = 0;
// polyglossia or babel?
if (runparams.use_polyglossia) {
if (runparams.use_polyglossia
&& language()->polyglossia() != base.language()->polyglossia()
&& language() != prev.language()) {
if (!language()->polyglossia().empty()) {
string tmp = "\\text" + language()->polyglossia();
if (!language()->polyglossiaOpts().empty())