]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathOverset.h
* InsetMathHull:
[lyx.git] / src / mathed / InsetMathOverset.h
index 078ccf55713971c2e39fadd75624bac044caeb14..c5e728188593fd4aa7d56260569f2e6942b2913d 100644 (file)
@@ -13,7 +13,7 @@
 #define MATH_OVERSETINSET_H
 
 
-#include "InsetMathFracBase.h"
+#include "InsetMathFrac.h"
 
 
 namespace lyx {
@@ -22,7 +22,7 @@ namespace lyx {
 class InsetMathOverset : public InsetMathFracBase {
 public:
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -36,7 +36,7 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };