]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrac.h
* Inset and derivatives: insetName() -> name()
[lyx.git] / src / mathed / InsetMathFrac.h
index dc4ed0bf52104345b6a9e6e9fe0718d1bd59b26d..e80389281b4860468c71c512b4f72c0f7f93956d 100644 (file)
@@ -33,7 +33,7 @@ public:
        ///
        explicit InsetMathFrac(Kind kind = FRAC);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///
@@ -62,7 +62,7 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 public:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        Kind kind_;
 };