]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_scriptinset.h
revert Buffer LyxText->InsetText commit
[lyx.git] / src / mathed / math_scriptinset.h
index 45514a844a195ed6d1814a9e627e35c08a2d8b64..5d6c17f1323ed60e67be4955596fe5b0ff5c45c3 100644 (file)
@@ -25,7 +25,7 @@ public:
        /// create inset with single script and given nucleus
        MathScriptInset(MathAtom const & at, bool up);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       std::auto_ptr<InsetBase> clone() const;
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -98,9 +98,7 @@ public:
        void infoize2(std::ostream & os) const;
 protected:
        ///
-       virtual
-       DispatchResult
-       priv_dispatch(LCursor & cur, FuncRequest const & cmd);
+       void priv_dispatch(LCursor & cur, FuncRequest const & cmd);
 private:
        /// returns x offset for main part
        int dxx() const;