]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetScript.cpp
tex2lyx/text.cpp: fix typos
[lyx.git] / src / insets / InsetScript.cpp
index 3aa1b41ec4bb59aadfdb54427e562be6323ab68b..648b910e271381bfeba8e002c5d63012a4629d81 100644 (file)
@@ -326,29 +326,6 @@ docstring InsetScript::toolTip(BufferView const &, int, int) const
 }
 
 
-void InsetScript::validate(LaTeXFeatures & features) const
-{
-       if (params_.type == InsetScriptParams::Subscript)
-               features.require("subscript");
-       InsetText::validate(features);
-}
-
-
-void InsetScript::latex(otexstream & os, OutputParams const & runparams) const
-{
-       switch (params_.type) {
-       case InsetScriptParams::Subscript:
-               os << "\\textsubscript{";
-               break;
-       case InsetScriptParams::Superscript:
-               os << "\\textsuperscript{";
-               break;
-       }
-       InsetText::latex(os, runparams);
-       os << "}";
-}
-
-
 int InsetScript::plaintext(odocstream & os, OutputParams const & runparams) const
 {
        odocstringstream oss;