]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_scriptinset.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / mathed / math_scriptinset.h
index 3855f6f251a9564556a8255ca2dc87cacda6ea30..b6fa642d1d9a9506bc33b99066faf21a702ce6ca 100644 (file)
@@ -28,8 +28,6 @@ public:
        /// create inset with single script and given nucleus
        MathScriptInset(MathAtom const & at, bool up);
        ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -100,9 +98,9 @@ public:
        /// say whether we have displayed limits
        void infoize2(std::ostream & os) const;
 protected:
-       ///
-       void priv_dispatch(LCursor & cur, FuncRequest & cmd);
+       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// returns x offset for main part
        int dxx() const;
        /// returns width of nucleus if any