From 00ad4d65cbde97cc3355db2f72c0e38e73008010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Thu, 25 Nov 2010 10:31:58 +0000 Subject: [PATCH] LaTeXFeatures.cpp (useBabel): - readd accidentally removed parentheses. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36479 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 304d724466..52a69bdc78 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -287,7 +287,7 @@ bool LaTeXFeatures::useBabel() const { if (usePolyglossia()) return false; - return lyxrc.language_package_selection != LyXRC::LP_NONE + return (lyxrc.language_package_selection != LyXRC::LP_NONE) || (bufferParams().language->lang() != lyxrc.default_language && !bufferParams().language->babel().empty()) || this->hasLanguages();