X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathFrameBox.h;h=e6701177e9e0b3cf5ab56e1835778b509cd325ab;hb=58ab972f714309aa87e7d956ceda00e18337875f;hp=445bc1468ecea6b4275030dc02db99e2dc586979;hpb=e24bf64c68102691fc76081de9fb57926b482726;p=lyx.git diff --git a/src/mathed/InsetMathFrameBox.h b/src/mathed/InsetMathFrameBox.h index 445bc1468e..e6701177e9 100644 --- a/src/mathed/InsetMathFrameBox.h +++ b/src/mathed/InsetMathFrameBox.h @@ -24,7 +24,7 @@ public: /// InsetMathFrameBox(); /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// @@ -34,7 +34,7 @@ public: /// mode_type currentMode() const { return TEXT_MODE; } private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; /// width of '[' in current font mutable int w_; };