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;