]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetparent.h
updates to minipage inset
[lyx.git] / src / insets / insetparent.h
index 548acbaea466d0ce8ec89c6f01933da493e72a57..1d21a127457b0fed1f77f3787bd1d4f7c40fe322 100644 (file)
@@ -27,9 +27,11 @@ class Buffer;
 class InsetParent : public InsetCommand {
 public:
        ///
-       InsetParent(InsetCommandParams const &, Buffer * owner = 0);
+       InsetParent(InsetCommandParams const &, Buffer const &);
        ///
-       Inset * Clone() const { return new InsetParent(params()); }
+       Inset * Clone(Buffer const & buffer) const {
+               return new InsetParent(params(), buffer);
+       }
        ///
        string const getScreenLabel() const;
         ///