]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetOptArg.cpp
Restore XHTML output for InsetListings.
[lyx.git] / src / insets / InsetOptArg.cpp
index 392c915cd21579104249ff8e82b3dff0429f5c58..544b213aae429c09962ba4722de736badd0db1af 100644 (file)
@@ -21,17 +21,11 @@ using namespace std;
 namespace lyx {
 
 
-InsetOptArg::InsetOptArg(Buffer const & buf)
+InsetOptArg::InsetOptArg(Buffer * buf)
        : InsetCollapsable(buf)
 {}
 
 
-docstring InsetOptArg::editMessage() const
-{
-       return _("Opened Optional Argument Inset");
-}
-
-
 void InsetOptArg::write(ostream & os) const
 {
        os << "OptArg" << "\n";
@@ -57,7 +51,7 @@ int InsetOptArg::docbook(odocstream &, OutputParams const &) const
 }
 
 
-docstring InsetOptArg::xhtml(odocstream &, OutputParams const &) const
+docstring InsetOptArg::xhtml(XHTMLStream &, OutputParams const &) const
 {
        return docstring();
 }