InsetBranch works again.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32138 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-11-21 23:24:21 +00:00
parent 1f42ca0df9
commit 3d07ead18b
2 changed files with 4 additions and 3 deletions

View File

@ -24,6 +24,7 @@
#include "FuncStatus.h" #include "FuncStatus.h"
#include "Lexer.h" #include "Lexer.h"
#include "OutputParams.h" #include "OutputParams.h"
#include "output_xhtml.h"
#include "TextClass.h" #include "TextClass.h"
#include "TocBackend.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()) if (isBranchSelected())
return InsetText::xhtml(os, rp); return InsetText::xhtml(xs, rp);
return docstring(); return docstring();
} }

View File

@ -76,7 +76,7 @@ private:
/// ///
int docbook(odocstream &, OutputParams const &) const; int docbook(odocstream &, OutputParams const &) const;
/// ///
docstring xhtml(odocstream &, OutputParams const &) const; docstring xhtml(XHTMLStream &, OutputParams const &) const;
/// ///
void tocString(odocstream &) const; void tocString(odocstream &) const;
/// ///