From 5282dc14ca0ee1a80e4367384c801a237b6dcf18 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 21 Nov 2009 23:28:20 +0000 Subject: [PATCH] InsetPrintIndex disabled. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32140 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetIndex.cpp | 4 +++- src/insets/InsetIndex.h | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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); ///