diff --git a/src/insets/InsetBranch.cpp b/src/insets/InsetBranch.cpp index ce357c679a..24cc7c9236 100644 --- a/src/insets/InsetBranch.cpp +++ b/src/insets/InsetBranch.cpp @@ -24,6 +24,7 @@ #include "FuncStatus.h" #include "Lexer.h" #include "OutputParams.h" +#include "output_xhtml.h" #include "TextClass.h" #include "TocBackend.h" @@ -240,10 +241,10 @@ int InsetBranch::docbook(odocstream & os, } -docstring InsetBranch::xhtml(odocstream & os, OutputParams const & rp) const +docstring InsetBranch::xhtml(XHTMLStream & xs, OutputParams const & rp) const { if (isBranchSelected()) - return InsetText::xhtml(os, rp); + return InsetText::xhtml(xs, rp); return docstring(); } diff --git a/src/insets/InsetBranch.h b/src/insets/InsetBranch.h index c46536c660..3995de23df 100644 --- a/src/insets/InsetBranch.h +++ b/src/insets/InsetBranch.h @@ -76,7 +76,7 @@ private: /// int docbook(odocstream &, OutputParams const &) const; /// - docstring xhtml(odocstream &, OutputParams const &) const; + docstring xhtml(XHTMLStream &, OutputParams const &) const; /// void tocString(odocstream &) const; ///