LaTeXFeatures.cpp: polyglossia is only required if a language is not supported by babel _and_ also no other special package; patch by Jürgen, to fix the regression mentioned in bug #8026

This commit is contained in:
Uwe Stöhr 2012-06-22 01:08:51 +02:00
parent dda1bfc949
commit 8afad998ed

View File

@ -496,7 +496,7 @@ bool LaTeXFeatures::hasPolyglossiaExclusiveLanguages() const
for (LanguageList::const_iterator cit = begin;
cit != UsedLanguages_.end();
++cit) {
if ((*cit)->babel().empty() && !(*cit)->polyglossia().empty())
if ((*cit)->babel().empty() && !(*cit)->polyglossia().empty() && (*cit)->requires().empty())
return true;
}
return false;