]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathSize.h
index d71c3b235651e4762063576327c9c68f85563015..ec65c94a1adfbd2af7b85242a06e5df001e3676a 100644 (file)
@@ -29,7 +29,7 @@ public:
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
 
@@ -40,7 +40,7 @@ public:
        ///
        void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        latexkeys const * key_;
        ///