From 47b763efb34933fa4fef8a750d7b5960da0ecf5e Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 21 Nov 2009 23:26:10 +0000 Subject: [PATCH] InsetExternal doesn't work. But it didn't work before, either. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32139 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetExternal.cpp | 3 ++- src/insets/InsetExternal.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetExternal.cpp b/src/insets/InsetExternal.cpp index 6762b0f762..d86a78d313 100644 --- a/src/insets/InsetExternal.cpp +++ b/src/insets/InsetExternal.cpp @@ -29,6 +29,7 @@ #include "LyXRC.h" #include "MetricsInfo.h" #include "OutputParams.h" +#include "output_latex.h" #include "frontends/alert.h" #include "frontends/Application.h" @@ -682,7 +683,7 @@ int InsetExternal::docbook(odocstream & os, } -docstring InsetExternal::xhtml(odocstream & /*os*/, +docstring InsetExternal::xhtml(XHTMLStream & /*xs*/, OutputParams const & /*rp*/) const { // external::writeExternal(params_, "XHTML", buffer(), os, diff --git a/src/insets/InsetExternal.h b/src/insets/InsetExternal.h index c1adb2b12a..a04f64cb66 100644 --- a/src/insets/InsetExternal.h +++ b/src/insets/InsetExternal.h @@ -135,7 +135,7 @@ private: int docbook(odocstream &, OutputParams const &) const; /// For now, this does nothing. Someone who knows about this /// should see what needs doing for XHTML output. - docstring xhtml(odocstream &, OutputParams const &) const; + docstring xhtml(XHTMLStream &, OutputParams const &) const; /// Update needed features for this inset. void validate(LaTeXFeatures & features) const; /// -- 2.39.5