]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetoptarg.C
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insetoptarg.C
index 03f000d92049e615c52228305e1e2ff6a714b265..eb3268b89f0953980719a47cead4c938f4e6696e 100644 (file)
@@ -47,28 +47,12 @@ InsetOptArg::InsetOptArg(InsetOptArg const & in)
 }
 
 
-// InsetOptArg::InsetOptArg(InsetOptArg const & in, bool same_id)
-//     : InsetCollapsable(in, same_id)
-// {
-//     LyXFont font(LyXFont::ALL_SANE);
-//     font.setColor(LColor::collapsable);
-//     setLabelFont(font);
-//     setLabel(_("opt"));
-// }
-
-
-Inset * InsetOptArg::clone(Buffer const &) const
+Inset * InsetOptArg::clone() const
 {
        return new InsetOptArg(*this);
 }
 
 
-// Inset * InsetOptArg::clone(Buffer const &, bool same_id) const
-// {
-//     return new InsetOptArg(*this, same_id);
-// }
-
-
 string const InsetOptArg::editMessage() const
 {
        return _("Opened Optional Argument Inset");