From 3d07ead18bc6bf5152c5f383f829840b0b92b055 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 21 Nov 2009 23:24:21 +0000 Subject: [PATCH] InsetBranch works again. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32138 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBranch.cpp | 5 +++-- src/insets/InsetBranch.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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; ///