X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetindex.C;h=c175cf1ffd14cb5e05d7aafff22049ef7542ac57;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=7190d23b76ee01135b91576c987d3c7080a8721e;hpb=0d449056ef9ace3ef737e4b9aba8d3994615dc18;p=lyx.git diff --git a/src/insets/insetindex.C b/src/insets/insetindex.C index 7190d23b76..c175cf1ffd 100644 --- a/src/insets/insetindex.C +++ b/src/insets/insetindex.C @@ -20,8 +20,8 @@ #include "support/std_ostream.h" -using lyx::docstring; -using lyx::odocstream; + +namespace lyx { using std::string; using std::ostream; @@ -46,9 +46,8 @@ docstring const InsetIndex::getScreenLabel(Buffer const &) const int InsetIndex::docbook(Buffer const &, odocstream & os, OutputParams const &) const { - // FIXME UNICODE os << "" - << lyx::from_ascii(sgml::escapeString(getContents())) + << sgml::escapeString(getParam("name")) << ""; return 0; } @@ -87,3 +86,6 @@ InsetBase::Code InsetPrintIndex::lyxCode() const { return InsetBase::INDEX_PRINT_CODE; } + + +} // namespace lyx