]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettext.h
* BufferParams:
[lyx.git] / src / insets / insettext.h
index b5a4531f17083cf87eb62abb39cfe2cb4bce8cb8..6b7d3563488ebbbef0bf8a857843b721d81e175f 100644 (file)
@@ -43,6 +43,9 @@ public:
        explicit InsetText(BufferParams const &);
        ///
        InsetText();
+       ///
+       virtual ~InsetText() {}
+
        /// empty inset to empty par
        void clear();
        ///
@@ -98,7 +101,7 @@ public:
                return (i == 0) ? const_cast<LyXText*>(&text_) : 0;
        }
        ///
-       bool getStatus(LCursor & cur, FuncRequest const & cmd, FuncStatus &) const;
+       virtual bool getStatus(LCursor & cur, FuncRequest const & cmd, FuncStatus &) const;
 
        /// set the change for the entire inset
        void setChange(Change const & change);
@@ -133,7 +136,7 @@ public:
        ///
        InsetText(InsetText const &);
        ///
-       bool wide() const { return wide_inset_; }
+       virtual bool wide() const { return wide_inset_; }
        ///
        void setWide(bool wide_inset) { wide_inset_ = wide_inset; }