]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFont.cpp
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / InsetMathFont.cpp
index 512eb629ad1606c18c8c977ea8f5cc11db20d521..1de00464a7326641ee8b3cb6012de649c9f77df4 100644 (file)
@@ -58,9 +58,7 @@ InsetMath::mode_type InsetMathFont::currentMode() const
 
 bool InsetMathFont::lockedMode() const
 {
-       if (key_->extra == "forcetext")
-               return true;
-       return false;
+       return key_->extra == "forcetext";
 }
 
 
@@ -136,8 +134,6 @@ void InsetMathFont::validate(LaTeXFeatures & features) const
                        features.require("mhchem");
                if (fontname == "mathds")
                        features.require("dsfont");
-               if (fontname == "mathbbm")
-                       features.require("bbm");
        } else if (features.runparams().math_flavor == OutputParams::MathAsHTML) {
                features.addCSSSnippet(
                        "span.normal{font: normal normal normal inherit serif;}\n"