]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetERT.cpp
Rename XHTMLStream to XMLStream, move it to another file, and prepare for DocBook...
[features.git] / src / insets / InsetERT.cpp
index f18234344acdfd97861a87663959412486f0e2a6..403df75032da7d1c5263c65e785b42be7d68cbd1 100644 (file)
@@ -134,12 +134,6 @@ bool InsetERT::getStatus(Cursor & cur, FuncRequest const & cmd,
        FuncStatus & status) const
 {
        switch (cmd.action()) {
-       case LFUN_INSET_EDIT:
-               status.setEnabled(tempfile_ == 0);
-               return true;
-       case LFUN_INSET_END_EDIT:
-               status.setEnabled(tempfile_ != 0);
-               return true;
        case LFUN_INSET_INSERT:
                status.setEnabled(false);
                return true;
@@ -189,7 +183,7 @@ string InsetERT::params2string(CollapseStatus status)
 }
 
 
-docstring InsetERT::xhtml(XHTMLStream &, OutputParams const &) const
+docstring InsetERT::xhtml(XMLStream &, OutputParams const &) const
 {
        return docstring();
 }