]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetERT.cpp
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetERT.cpp
index fb6f95a26e45b395d808ad0ce56aad9cb0bcf182..17639299238d3ad9508b0ba139dbf3eb719a00dc 100644 (file)
@@ -24,7 +24,6 @@
 #include "Layout.h"
 #include "Lexer.h"
 #include "LyXAction.h"
-#include "MetricsInfo.h"
 #include "OutputParams.h"
 #include "ParagraphParameters.h"
 #include "Paragraph.h"
@@ -51,12 +50,6 @@ InsetERT::InsetERT(Buffer * buf, CollapseStatus status)
 }
 
 
-InsetERT::~InsetERT()
-{
-       hideDialogs("ert", this);
-}
-
-
 void InsetERT::write(ostream & os) const
 {
        os << "ERT" << "\n";
@@ -153,14 +146,6 @@ docstring const InsetERT::buttonLabel(BufferView const & bv) const
 }
 
 
-bool InsetERT::showInsetDialog(BufferView * bv) const
-{
-       bv->showDialog("ert", params2string(status(*bv)), 
-               const_cast<InsetERT *>(this));
-       return true;
-}
-
-
 InsetCollapsable::CollapseStatus InsetERT::string2params(string const & in)
 {
        if (in.empty())
@@ -184,7 +169,7 @@ string InsetERT::params2string(CollapseStatus status)
 }
 
 
-docstring InsetERT::xhtml(odocstream &, OutputParams const &) const
+docstring InsetERT::xhtml(XHTMLStream &, OutputParams const &) const
 {
        return docstring();
 }