X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathStackrel.h;h=834cc0c4e8f5dc6fa56ff387b3929e8992b028e3;hb=11a6b3c4c7a031fd3776f53c9c43f62116933cea;hp=75c07f7f6223b2d86ec2b10442bd181163b9aee8;hpb=e24bf64c68102691fc76081de9fb57926b482726;p=lyx.git diff --git a/src/mathed/InsetMathStackrel.h b/src/mathed/InsetMathStackrel.h index 75c07f7f62..834cc0c4e8 100644 --- a/src/mathed/InsetMathStackrel.h +++ b/src/mathed/InsetMathStackrel.h @@ -12,7 +12,7 @@ #ifndef MATH_STACKRELINSET_H #define MATH_STACKRELINSET_H -#include "InsetMathFracBase.h" +#include "InsetMathFrac.h" namespace lyx { @@ -28,7 +28,7 @@ public: /// InsetMathStackrel(); /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; @@ -37,7 +37,7 @@ public: /// void normalize(NormalStream &) const; private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; };