From 873772d8ab9ba14ac89ae43c6127aec125399ed4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Thu, 25 Nov 2010 10:30:09 +0000 Subject: [PATCH] LaTeXFeatures.cpp (usePolyglossia): - readd accidentally removed parentheses. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36478 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeXFeatures.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2