]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnderset.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathUnderset.h
index c195eb10b6987e3cf8ddb35f18e15e16dd00922e..d0a8492439bac9540c6cafd1ee1ad7c6ced2e251 100644 (file)
@@ -13,7 +13,7 @@
 #define MATH_UNDERSETINSET_H
 
 
-#include "InsetMathFracBase.h"
+#include "InsetMathFrac.h"
 
 
 namespace lyx {
@@ -22,7 +22,7 @@ namespace lyx {
 class InsetMathUnderset : 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;
        ///
@@ -38,7 +38,7 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 };