X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_root.C;h=e440b798afb4f2060ee6d2f858601523f4ee8374;hb=099779019f066ad014e2dd63ad1b9ec3b180f8de;hp=f6ae3478f3507ff252391df250aca3beb9829f3c;hpb=85a5ea7bfc80e179a61a99f2955455e84d3384cc;p=lyx.git diff --git a/src/mathed/math_root.C b/src/mathed/math_root.C index f6ae3478f3..e440b798af 100644 --- a/src/mathed/math_root.C +++ b/src/mathed/math_root.C @@ -11,20 +11,16 @@ * 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) {} @@ -34,7 +30,7 @@ MathInset * MathRootInset::clone() const } -void MathRootInset::Metrics(MathStyles st) +void MathRootInset::Metrics(MathStyles st, int, int) { MathInset::Metrics(st); size_ = st;