]> git.lyx.org Git - lyx.git/blobdiff - src/Language.cpp
Improve drawing of math roots (\sqrt and \root)
[lyx.git] / src / Language.cpp
index 9801668846b998b1377535eff9f77cd01eb4f6ef..902eab3ad4c4e466b697cc62895262e12c0d954b 100644 (file)
@@ -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())