]> git.lyx.org Git - lyx.git/blobdiff - src/Encoding.cpp
GuiDocument.cpp: remove unneeded conversion
[lyx.git] / src / Encoding.cpp
index 5df64457708bc36e897d171f54c815cf6f4e378e..9283e55fc8e8a1b9d6ea7637604a39376fe82638 100644 (file)
@@ -533,6 +533,7 @@ void Encodings::initUnicodeMath(Buffer const & buffer, bool clear_sets)
 #ifdef TEX2LYX
        // The code below is not needed in tex2lyx and requires additional stuff
        (void)buffer;
+       (void)clear_sets;
 #else
        if (clear_sets) {
                mathcmd.clear();
@@ -600,7 +601,7 @@ void Encodings::validate(char_type c, LaTeXFeatures & features, bool for_mathed)
                }
        }
        if (for_mathed && isMathSym(c)) {
-               features.require("relsize");
+               features.require("amstext");
                features.require("lyxmathsym");
        }
 #endif