]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPar.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathPar.h
index 29d62b98d403e8bd32835954590c2eb640171f55..1fe9e0c4007611c918b69cfe1fd588632cdea3ae 100644 (file)
@@ -27,7 +27,7 @@ public:
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
@@ -36,7 +36,7 @@ public:
        void write(WriteStream & os) const;
 private:
        ///
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };