]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_scriptinset.h
Compile fix gcc 2.95 + stlport
[lyx.git] / src / mathed / math_scriptinset.h
index 45514a844a195ed6d1814a9e627e35c08a2d8b64..2f9dd58b408cc92fa55e8eb99d893896ad89c625 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);
+       DispatchResult priv_dispatch(LCursor & cur, FuncRequest const & cmd);
 private:
        /// returns x offset for main part
        int dxx() const;