* LaTeXFeatures.cpp: do not use polyglossia if the texclass provides babel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36787 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-12-09 10:00:10 +00:00
parent a978795215
commit b88a8d1427

View File

@ -299,6 +299,7 @@ bool LaTeXFeatures::usePolyglossia() const
return (lyxrc.language_package_selection == LyXRC::LP_AUTO)
&& isRequired("polyglossia")
&& isAvailable("polyglossia")
&& !params_.documentClass().provides("babel")
&& this->hasPolyglossiaLanguages();
}