X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLanguage.cpp;h=e6f7f9ed6a940a261b6a604b9c54b210936527d7;hb=cde541d785aaac9d45d636a7f9071353dd932eb6;hp=286dc92bd644454a1dc636871e49f337c73e6b6d;hpb=7a7b9abf1b3f4bcd81b4faaad4ef2363a4121848;p=lyx.git diff --git a/src/Language.cpp b/src/Language.cpp index 286dc92bd6..e6f7f9ed6a 100644 --- a/src/Language.cpp +++ b/src/Language.cpp @@ -38,6 +38,12 @@ Language const * latex_language = 0; Language const * reset_language = 0; +bool Language::isPolyglossiaExclusive() const +{ + return babel().empty() && !polyglossia().empty() && requires().empty(); +} + + docstring const Language::translateLayout(string const & m) const { if (m.empty())