diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index 70a16f6e3c..84b5889d4f 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -24,6 +24,7 @@ #include "LaTeXFeatures.h" #include "Lexer.h" #include "MetricsInfo.h" +#include "output_latex.h" #include "sgml.h" #include "TocBackend.h" @@ -560,7 +561,8 @@ bool InsetPrintIndex::hasSettings() const return buffer().masterBuffer()->params().use_indices; } -docstring InsetPrintIndex::xhtml(odocstream &, OutputParams const &) const + +docstring InsetPrintIndex::xhtml(XHTMLStream &, OutputParams const &) const { return docstring(); } diff --git a/src/insets/InsetIndex.h b/src/insets/InsetIndex.h index b7427a1ed0..d0b0d1da29 100644 --- a/src/insets/InsetIndex.h +++ b/src/insets/InsetIndex.h @@ -101,13 +101,13 @@ public: /// static ParamInfo const & findInfo(std::string const &); /// - static std::string defaultCommand() { return "printindex"; }; + static std::string defaultCommand() { return "printindex"; } /// static bool isCompatibleCommand(std::string const & s); /// int latex(odocstream &, OutputParams const &) const; /// Does nothing yet. - docstring xhtml(odocstream &, OutputParams const &) const; + docstring xhtml(XHTMLStream &, OutputParams const &) const; /// void doDispatch(Cursor & cur, FuncRequest & cmd); ///