From e8ee20e5d78159274854175ecc1d47e24a318d2d Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 19 Nov 2009 21:05:34 +0000 Subject: [PATCH] Enable InsetText for XHTML. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32094 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetText.cpp | 4 +--- src/insets/InsetText.h | 5 ++++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index 9372b475e5..4c52661194 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -495,10 +495,8 @@ int InsetText::docbook(odocstream & os, OutputParams const & runparams) const } -docstring InsetText::xhtml(odocstream & os, OutputParams const & runparams) const +docstring InsetText::xhtml(XHTMLStream & xs, OutputParams const & runparams) const { - // FIXME XHTMLStream - XHTMLStream xs(os); if (undefined()) { xhtmlParagraphs(text_, buffer(), xs, runparams); return docstring(); diff --git a/src/insets/InsetText.h b/src/insets/InsetText.h index 2d24d2988f..64002f91d7 100644 --- a/src/insets/InsetText.h +++ b/src/insets/InsetText.h @@ -79,7 +79,10 @@ public: /// int docbook(odocstream &, OutputParams const &) const; /// - docstring xhtml(odocstream &, OutputParams const &) const; + docstring xhtml(XHTMLStream &, OutputParams const &) const; + // FIXME XHTMLStream to be removed + docstring xhtml(odocstream &, OutputParams const &) const + { return docstring (); } /// void validate(LaTeXFeatures & features) const;