]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.h
Change string
[lyx.git] / src / insets / InsetFoot.h
index 36c20c1aeb8fa9f0a0c4938bac6ed8ec0c8cb221..0df579e0f4155fbc3acd09896bb5af49dea80c6b 100644 (file)
@@ -21,10 +21,12 @@ namespace lyx {
 /** The footnote inset
 
 */
-class InsetFoot : public InsetFootlike {
+class InsetFoot : public InsetFootlike
+{
 public:
        ///
-       InsetFoot(BufferParams const &);
+       InsetFoot(Buffer const &);
+private:
        ///
        InsetCode lyxCode() const { return FOOT_CODE; }
        ///
@@ -41,11 +43,8 @@ public:
        void updateLabels(ParIterator const &);
        ///
        void addToToc(ParConstIterator const &) const;
-
-protected:
-       InsetFoot(InsetFoot const &);
-private:
-       Inset * clone() const;
+       ///
+       Inset * clone() const { return new InsetFoot(*this); }
 };