]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSubstack.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathSubstack.h
index 417adc1d9fbe5884a779dc80e0b36c4b18bbe0ec..f8226b05c432712d7d5f1dcc2fdd24adaa9084bb 100644 (file)
@@ -25,14 +25,14 @@ public:
        ///
        InsetMathSubstack();
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
        InsetMathSubstack const * asSubstackInset() const { return this; }
 
        ///
-       bool getStatus(LCursor & cur, FuncRequest const & cmd,
+       bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
        ///
        void infoize(odocstream & os) const;
@@ -45,7 +45,7 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };