]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.h
fix compilation pb ; update eu.po
[lyx.git] / src / insets / insetindex.h
index 92b6f57542445cf85b6a44b6104301eeb3ac9000..686a8c0588d75cb37d6c869dd1eaf89b338e0fab 100644 (file)
@@ -27,9 +27,11 @@ public:
        ///
        InsetIndex(InsetCommandParams const &);
        ///
-       Inset * Clone() const { return new InsetIndex(params());}
+       Inset * Clone(Buffer const &) const {
+               return new InsetIndex(params());
+       }
        ///
-       string getScreenLabel() const;
+       string const getScreenLabel() const;
        ///
        EDITABLE Editable() const { return IS_EDITABLE; }
        ///
@@ -42,7 +44,9 @@ public:
        ///
        InsetPrintIndex(InsetCommandParams const &);
        ///
-       Inset * Clone() const { return new InsetPrintIndex(params());}
+       Inset * Clone(Buffer const &) const {
+               return new InsetPrintIndex(params());
+       }
        /// Updates needed features for this inset.
        void Validate(LaTeXFeatures & features) const;
        ///
@@ -54,7 +58,7 @@ public:
        ///
        Inset::Code LyxCode() const;
        ///
-       string getScreenLabel() const;
+       string const getScreenLabel() const;
 };
 
 #endif