X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FLanguage.cpp;h=902eab3ad4c4e466b697cc62895262e12c0d954b;hb=758de9577dcf3ff912c794dc4dffa13e138ffd41;hp=9801668846b998b1377535eff9f77cd01eb4f6ef;hpb=1f945177b9628b213c60872df88f2d155c3d6c54;p=lyx.git diff --git a/src/Language.cpp b/src/Language.cpp index 9801668846..902eab3ad4 100644 --- a/src/Language.cpp +++ b/src/Language.cpp @@ -44,6 +44,12 @@ bool Language::isPolyglossiaExclusive() const } +bool Language::isBabelExclusive() const +{ + return !babel().empty() && polyglossia().empty() && requires().empty(); +} + + docstring const Language::translateLayout(string const & m) const { if (m.empty())