* 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;