From c71a1d91853f3891d075a444a9bdad4b874ada8e Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 19 Nov 2009 23:02:47 +0000 Subject: [PATCH] Restore InsetQuote. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32109 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetQuotes.cpp | 5 +++-- src/insets/InsetQuotes.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/insets/InsetQuotes.cpp b/src/insets/InsetQuotes.cpp index b287c28dfd..5ec5fa53fc 100644 --- a/src/insets/InsetQuotes.cpp +++ b/src/insets/InsetQuotes.cpp @@ -22,6 +22,7 @@ #include "LyXRC.h" #include "MetricsInfo.h" #include "OutputParams.h" +#include "output_xhtml.h" #include "frontends/FontMetrics.h" #include "frontends/Painter.h" @@ -314,9 +315,9 @@ int InsetQuotes::docbook(odocstream & os, OutputParams const &) const } -docstring InsetQuotes::xhtml(odocstream & os, OutputParams const & op) const +docstring InsetQuotes::xhtml(XHTMLStream & xs, OutputParams const & op) const { - docbook(os, op); + docbook(xs.os(), op); return docstring(); } diff --git a/src/insets/InsetQuotes.h b/src/insets/InsetQuotes.h index ef7beec21d..0cc463e4c2 100644 --- a/src/insets/InsetQuotes.h +++ b/src/insets/InsetQuotes.h @@ -84,7 +84,7 @@ public: /// int docbook(odocstream &, OutputParams const &) const; /// - docstring xhtml(odocstream &, OutputParams const &) const; + docstring xhtml(XHTMLStream &, OutputParams const &) const; /// the string that is passed to the TOC void tocString(odocstream &) const;