]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBox.h
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetBox.h
index d65268f82795a00ecf6c56edef9c56a3e4c2e7a8..7099b6821097371a5348c4ee1f49f5626fefc81b 100644 (file)
@@ -72,11 +72,11 @@ public:
        ///
        void setButtonLabel();
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        /// show the Box dialog
        bool showInsetDialog(BufferView * bv) const;
        ///
-       bool display() const { return false; }
+       DisplayType display() const { return Inline; }
        ///
        bool forceDefaultParagraphs(idx_type) const;
        ///
@@ -114,7 +114,7 @@ protected:
 private:
        friend class InsetBoxParams;
 
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /// used by the constructors
        void init();