]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXArrow.h
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathXArrow.h
index f76758c0d9191fb8ff44e21a7e94eb07217b9307..a239fd053232d037315f1467563873efa19ad848 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef MATH_XARROWINSET_H
 #define MATH_XARROWINSET_H
 
-#include "InsetMathFracBase.h"
+#include "InsetMathFrac.h"
 
 
 namespace lyx {
@@ -28,14 +28,14 @@ public:
        ///
        void write(WriteStream & os) const;
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void normalize(NormalStream & os) const;
        ///
        void validate(LaTeXFeatures & features) const;
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        bool upper() const;
        ///