]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.C
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insetfoot.C
index a1ca0bc16148acbdb88d2018fb6d451a6b84a52c..e53a1db8769033fc5c4a03e1ef0898fdbf0b4c56 100644 (file)
@@ -38,17 +38,17 @@ InsetFoot::InsetFoot(BufferParams const & bp)
 }
 
 
-InsetFoot::InsetFoot(InsetFoot const & in, bool same_id)
-       : InsetFootlike(in, same_id)
+InsetFoot::InsetFoot(InsetFoot const & in)
+       : InsetFootlike(in)
 {
        setLabel(_("foot"));
        setInsetName("Foot");
 }
 
 
-Inset * InsetFoot::clone(Buffer const &, bool same_id) const
+Inset * InsetFoot::clone() const
 {
-       return new InsetFoot(*const_cast<InsetFoot *>(this), same_id);
+       return new InsetFoot(*this);
 }