]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathScript.h
rename LyXFont to Font except in tex2lyx
[lyx.git] / src / mathed / InsetMathScript.h
index 011b82160b72d13facd83b5804171206b58e4a02..0d43f95d6e9d6fb760176704e64a6659ffee64c4 100644 (file)
@@ -75,17 +75,17 @@ public:
        /// get limits
        int limits() const { return limits_; }
        /// returns subscript. Always run 'hasDown' or 'has(false)' before!
-       MathArray const & down() const;
+       MathData const & down() const;
        /// returns subscript. Always run 'hasDown' or 'has(false)' before!
-       MathArray & down();
+       MathData & down();
        /// returns superscript. Always run 'hasUp' or 'has(true)' before!
-       MathArray const & up() const;
+       MathData const & up() const;
        /// returns superscript. Always run 'hasUp' or 'has(true)' before!
-       MathArray & up();
+       MathData & up();
        /// returns nucleus
-       MathArray const & nuc() const;
+       MathData const & nuc() const;
        /// returns nucleus
-       MathArray & nuc();
+       MathData & nuc();
        /// do we have a superscript?
        bool hasUp() const;
        /// do we have a subscript?
@@ -105,7 +105,7 @@ public:
 protected:
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// returns x offset for main part
        int dxx() const;
        /// returns width of nucleus if any