]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetOptArg.cpp
Restore XHTML output for InsetListings.
[lyx.git] / src / insets / InsetOptArg.cpp
index 879db43b6880996fe1c34b4dd053b88c82efe7d9..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,12 +51,11 @@ int InsetOptArg::docbook(odocstream &, OutputParams const &) const
 }
 
 
-int InsetOptArg::xhtml(odocstream &, OutputParams const &) const
+docstring InsetOptArg::xhtml(XHTMLStream &, OutputParams const &) const
 {
-       return 0;
+       return docstring();
 }
 
-
 int InsetOptArg::latexOptional(odocstream & os,
                               OutputParams const & runparams) const
 {