]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.h
Fix a couple unused variable warnings.
[lyx.git] / src / insets / InsetIndex.h
index 4578c174010f0f5574aee6521f99b592e7b3a738..0c6a961a49c689174cca5cf6db42df4cecf13201 100644 (file)
@@ -49,7 +49,7 @@ private:
        ///
        InsetCode lyxCode() const { return INDEX_CODE; }
        ///
-       docstring name() const { return from_ascii("Index"); }
+       docstring layoutName() const { return from_ascii("Index"); }
        ///
        ColorCode labelColor() const;
        ///
@@ -61,7 +61,7 @@ private:
        ///
        docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
-       int latex(otexstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        bool showInsetDialog(BufferView *) const;
        ///
@@ -100,7 +100,7 @@ public:
        ///
        InsetCode lyxCode() const { return INDEX_PRINT_CODE; }
        ///
-       int latex(otexstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///