]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.h
some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagra...
[lyx.git] / src / insets / insetindex.h
index 7d0120ab4f6408f595084715a08ede1070f046d1..686a8c0588d75cb37d6c869dd1eaf89b338e0fab 100644 (file)
@@ -27,7 +27,9 @@ public:
        ///
        InsetIndex(InsetCommandParams const &);
        ///
-       Inset * Clone() const { return new InsetIndex(params());}
+       Inset * Clone(Buffer const &) const {
+               return new InsetIndex(params());
+       }
        ///
        string const getScreenLabel() const;
        ///
@@ -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;
        ///