]> git.lyx.org Git - features.git/commitdiff
* LaTeXFeatures.cpp: do not use polyglossia if the texclass provides babel.
authorJürgen Spitzmüller <spitz@lyx.org>
Thu, 9 Dec 2010 10:00:10 +0000 (10:00 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Thu, 9 Dec 2010 10:00:10 +0000 (10:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36787 a592a061-630c-0410-9148-cb99ea01b6c8

src/LaTeXFeatures.cpp

index 46afe7cc4a6e34bfa381438b5a9dd9917330f5cb..ca9dc3ab90620537f98d6dca244a90f2c622326e 100644 (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();
 }