LaTeXFeatures.cpp (useBabel):

- readd accidentally removed parentheses.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36479 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-11-25 10:31:58 +00:00
parent 873772d8ab
commit 00ad4d65cb

View File

@ -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();