]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.cpp
Restore XHTML output for InsetListings.
[lyx.git] / src / insets / InsetNote.cpp
index 89d789c04eb0d923f2625221b8a4230b1c9bc3f6..3d641a8a683b9ebf7d8f5699d10853734787fe61 100644 (file)
@@ -115,7 +115,7 @@ void InsetNoteParams::read(Lexer & lex)
 //
 /////////////////////////////////////////////////////////////////////
 
-InsetNote::InsetNote(Buffer const & buf, string const & label)
+InsetNote::InsetNote(Buffer * buf, string const & label)
        : InsetCollapsable(buf)
 {
        params_.type = notetranslator().find(label);
@@ -320,12 +320,12 @@ int InsetNote::docbook(odocstream & os, OutputParams const & runparams_in) const
 }
 
 
-docstring InsetNote::xhtml(odocstream & os, OutputParams const & rp) const
+docstring InsetNote::xhtml(XHTMLStream & xs, OutputParams const & rp) const
 {
        if (params_.type == InsetNoteParams::Note)
                return docstring();
 
-       return InsetCollapsable::xhtml(os, rp);
+       return InsetCollapsable::xhtml(xs, rp);
 }