]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_root.C
Minor code shuffle.
[lyx.git] / src / mathed / math_root.C
index 6dcfbc0e032ca581821f36a60a2e87e25392cdf5..e440b798afb4f2060ee6d2f858601523f4ee8374 100644 (file)
  *   the GNU General Public Licence version 2 or later.
  */
 
-#include <config.h>
-
 #ifdef __GNUG__
 #pragma implementation
 #endif
 
-#include <functional>
-
 #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;