From: Jürgen Spitzmüller Date: Thu, 9 Dec 2010 10:00:10 +0000 (+0000) Subject: * LaTeXFeatures.cpp: do not use polyglossia if the texclass provides babel. X-Git-Tag: 2.0.0~1450 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b88a8d142769e90d056fbd161f655ee659971273;p=features.git * 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 --- diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 46afe7cc4a..ca9dc3ab90 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -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(); }