]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndexMacro.cpp
Update Win installer for new dictionary links. Untested.
[lyx.git] / src / insets / InsetIndexMacro.cpp
index 31754308f8565a20046edc1d3c84976030c489e9..80ba766b538afdb6438b69521a7b03ffe6973aa4 100644 (file)
@@ -159,6 +159,7 @@ void InsetIndexMacro::getLatex(otexstream & os, OutputParams const & runparams)
                if (hasSortKey()) {
                        getSortkey(os, runparams);
                        os << "@";
+                       InsetText::latex(os, runparams);
                } else {
                        odocstringstream ourlatex;
                        otexstream ots(ourlatex);
@@ -205,6 +206,12 @@ docstring InsetIndexMacro::getXhtml(XMLStream & xs, OutputParams const & runpara
 }
 
 
+bool InsetIndexMacro::hasNoContent() const
+{
+       return paragraphs().front().empty();
+}
+
+
 void InsetIndexMacro::doDispatch(Cursor & cur, FuncRequest & cmd)
 {
        switch (cmd.action()) {