]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetenv.C
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insetenv.C
index aeeb5f07c5b7362cf48521aefa2f1a3e38aaf26b..1158b1a1d0edb1975fc1dd7749ff25b4c2633b3c 100644 (file)
@@ -40,23 +40,12 @@ InsetEnvironment::InsetEnvironment(InsetEnvironment const & in)
 {}
 
 
-// InsetEnvironment::InsetEnvironment(InsetEnvironment const & in, bool same_id)
-//     : InsetText(in, same_id), layout_(in.layout_)
-// {}
-
-
-Inset * InsetEnvironment::clone(Buffer const &) const
+Inset * InsetEnvironment::clone() const
 {
        return new InsetEnvironment(*this);
 }
 
 
-// Inset * InsetEnvironment::clone(Buffer const &, bool same_id) const
-// {
-//     return new InsetEnvironment(*this, same_id);
-// }
-
-
 void InsetEnvironment::write(Buffer const * buf, ostream & os) const
 {
        os << "Environment " << getInsetName() << "\n";