From: Jürgen Spitzmüller Date: Thu, 25 Nov 2010 10:30:09 +0000 (+0000) Subject: LaTeXFeatures.cpp (usePolyglossia): X-Git-Tag: 2.0.0~1701 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=873772d8ab9ba14ac89ae43c6127aec125399ed4;p=features.git LaTeXFeatures.cpp (usePolyglossia): - readd accidentally removed parentheses. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36478 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 7b2778ceb2..304d724466 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -296,7 +296,7 @@ bool LaTeXFeatures::useBabel() const bool LaTeXFeatures::usePolyglossia() const { - return lyxrc.language_package_selection == LyXRC::LP_AUTO + return (lyxrc.language_package_selection == LyXRC::LP_AUTO) && isRequired("polyglossia") && isAvailable("polyglossia") && this->hasPolyglossiaLanguages();