]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetwrap.h
fix #832
[lyx.git] / src / insets / insetwrap.h
index b4525707f018f0b9128c1d3f6522a9dcc31c532b..f53691d2fea399c56655d63123960053b49e73b7 100644 (file)
@@ -65,16 +65,6 @@ public:
        ///
        int getMaxWidth(BufferView *, UpdatableInset const *) const;
        ///
-       string const & type() const;
-       ///
-       LyXLength const & pageWidth() const;
-       ///
-       void pageWidth(LyXLength const &);
-       ///
-       void placement(string const & p);
-       ///
-       string const & placement() const;
-       ///
        void addToToc(toc::TocList &, Buffer const *) const;
        ///
        bool  showInsetDialog(BufferView *) const;
@@ -97,7 +87,7 @@ public:
        ///
        InsetWrapMailer(InsetWrap & inset);
        ///
-       virtual Inset & inset() const { return inset_; }
+       virtual InsetBase & inset() const { return inset_; }
        ///
        virtual string const & name() const { return name_; }
        ///
@@ -105,11 +95,10 @@ public:
        ///
        static void string2params(string const &, InsetWrapParams &);
        ///
-       static string const params2string(string const & name,
-                                         InsetWrapParams const &);
+       static string const params2string(InsetWrapParams const &);
 private:
        ///
-       string const name_;
+       static string const name_;
        ///
        InsetWrap & inset_;
 };