X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_root.C;h=e440b798afb4f2060ee6d2f858601523f4ee8374;hb=099779019f066ad014e2dd63ad1b9ec3b180f8de;hp=6dcfbc0e032ca581821f36a60a2e87e25392cdf5;hpb=b1c4f8070feac7b2cc6d0054cc305dc3a6e918b8;p=lyx.git diff --git a/src/mathed/math_root.C b/src/mathed/math_root.C index 6dcfbc0e03..e440b798af 100644 --- a/src/mathed/math_root.C +++ b/src/mathed/math_root.C @@ -11,30 +11,26 @@ * the GNU General Public Licence version 2 or later. */ -#include - #ifdef __GNUG__ #pragma implementation #endif -#include - #include "math_root.h" #include "support/LOstream.h" #include "Painter.h" MathRootInset::MathRootInset() - : MathInset("sqrt", LM_OT_SQRT, 2) + : MathInset(2) {} -MathInset * MathRootInset::Clone() const +MathInset * MathRootInset::clone() const { return new MathRootInset(*this); } -void MathRootInset::Metrics(MathStyles st) +void MathRootInset::Metrics(MathStyles st, int, int) { MathInset::Metrics(st); size_ = st;