]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetERT.cpp
Some real easy ones.
[features.git] / src / insets / InsetERT.cpp
index 95cda7e7ca12f10dc628415ad65be3c0619a14d7..5376c71f4d00c72b144086de32c462fa797085dc 100644 (file)
@@ -81,6 +81,12 @@ int InsetERT::plaintext(odocstream &, OutputParams const &) const
 }
 
 
+int InsetERT::xhtml(odocstream &, OutputParams const &) const
+{
+       return 0; // do not output TeX code
+}
+
+
 int InsetERT::docbook(odocstream & os, OutputParams const &) const
 {
        // FIXME can we do the same thing here as for LaTeX?
@@ -109,12 +115,6 @@ void InsetERT::doDispatch(Cursor & cur, FuncRequest & cmd)
        Layout const layout = bp.documentClass().plainLayout();
        //lyxerr << "\nInsetERT::doDispatch (begin): cmd: " << cmd << endl;
        switch (cmd.action) {
-       case LFUN_QUOTE_INSERT: {
-               // We need to bypass the fancy quotes in Text
-               FuncRequest f(LFUN_SELF_INSERT, "\"");
-               dispatch(cur, f);
-               break;
-       }
        case LFUN_INSET_MODIFY: {
                setStatus(cur, string2params(to_utf8(cmd.argument())));
                break;